Property: animating: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Returns true when animating a page, in other words when a transition is running.
Returns true when animating a page, in other words when a folded page is visible.


Example:
Example:

Revision as of 04:01, 6 July 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>