Property: animating: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
(Created page with "<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Returns true when animating a page, in other words when a folded page is visible.
Example:
<pre class="javascript">
function isAnimating() {
  if ($("#flipbook").turn("animating")) {
    alert('Animating a page!');
  }
}
</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>