Views
Actions

Method: options

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "Changes the value of an option. {| class="wikitable" |- ! scope="col"| Parameter ! scope="col"| Type ! scope="col"| Description ! scope="col"| Default Value |- | options | Ob...")
 
 
Line 21: Line 21:
 
  $("#flipbook").turn("options", {display: "single", duration: 1000});
 
  $("#flipbook").turn("options", {display: "single", duration: 1000});
 
</pre>
 
</pre>
 +
 +
==See also==
 +
[[Turn Options|List of options that can be changed through this method]]
  
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 23:25, 25 November 2012

Changes the value of an option.

Parameter Type Description Default Value
options Object Options to change You must specify this parameter

Example:

 // Another way to change the display and the duration of the effect

 $("#flipbook").turn("options", {display: "single", duration: 1000});

[edit] See also

List of options that can be changed through this method

Main Page > API > Turn Methods > Method: options