Views
Actions

Property: animating

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
function isAnimating() {
 
function isAnimating() {
  
if ($("#flipbook").turn("animation"))
+
if ($("#flipbook").turn("animating"))
alert('Animating');
+
alert('Animating a page!');
else
+
alert('No animating');
+
  
 
}
 
}

Revision as of 21:00, 5 July 2012

Returns true when animating a page.

Example:

function isAnimating() {

	if ($("#flipbook").turn("animating"))
		alert('Animating a page!');

}
Main Page > API > Turn Properties > Property: animating