Method: options: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to 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...")
 
No edit summary
 
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 06:25, 26 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});

See also

List of options that can be changed through this method

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>