Property: animating: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<pre class="javascript"> | <pre class="javascript"> | ||
function isAnimating() { | function isAnimating() { | ||
if ($("#flipbook").turn("animating")) { | |||
alert('Animating a page!'); | |||
} | |||
} | } | ||
</pre> | </pre> | ||
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb> | <yambe:breadcrumb>Turn Properties</yambe:breadcrumb> |
Latest revision as of 06:27, 26 November 2012
Returns true when animating a page, in other words when a folded page is visible.
Example:
function isAnimating() { if ($("#flipbook").turn("animating")) { alert('Animating a page!'); } }
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>