Views
Actions

Property: options

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
Get the options used when creating the flipbook.
 
Get the options used when creating the flipbook.
 +
 +
Example:
 +
 +
<pre class="javascript">
 +
var duration = $("#flipbook").turn("options").duration;
 +
 +
alert("The duration of the transition is "+duration);
 +
</pre>
  
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>

Latest revision as of 23:29, 25 November 2012

Get the options used when creating the flipbook.

Example:

var duration = $("#flipbook").turn("options").duration;

alert("The duration of the transition is "+duration);
Main Page > API > Turn Properties > Property: options