Home > CSS, JavaScript, Object Pascal, OP4JS, Smart Mobile Studio > Chainable effects for Smart Mobile Studio

Chainable effects for Smart Mobile Studio

September 2, 2014 Leave a comment Go to comments

Just made a small but very effective SVN commit to QTXLibrary. The non-callback variations of the effect methods are now functions, allowing for some interesting chainable effects.
For instance, you can now do this:

FPanel1.fxMoveTo(0.4).fxFadeIn(0.4).fxMoveDown(0.3).fxZoomOut(0.2);

Since all the fx–() methods returns the “self” value, this means you can execute effects like this. And they will execute in sync due to the callback checking (if the effect is busy).

All the power of jQuery / jQGUI without all the hassle of raw JS 🙂

Head over to https://code.google.com/p/qtxlibrary/ and update your SVN repo now!

 

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: