Views
Actions

Property: animating

From Turn.js Documentation
Revision as of 23:27, 25 November 2012 by Emmanuel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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!');
  }
}
Main Page > API > Turn Properties > Property: animating