Turn Methods: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
* [[Method: center|center]]
* [[Method: center|center]]
* [[Method: destroy|destroy]]
* [[Method: destroy|destroy]]
* [[Method: direction|direction]]
* [[Method: display|display]]
* [[Method: display|display]]
* [[Method: disable|disable]]
* [[Method: disable|disable]]
Line 31: Line 32:
* [[Method: size|size]]
* [[Method: size|size]]
* [[Method: stop|stop]]
* [[Method: stop|stop]]
* [[Method: version|version]]
* [[Method: zoom|zoom]]
* [[Method: zoom|zoom]]


<yambe:breadcrumb>API</yambe:breadcrumb>
<yambe:breadcrumb>API</yambe:breadcrumb>

Latest revision as of 04:26, 16 July 2012

Methods are used to perform actions such as turn the page or change the state of a property.

Syntax:

$("#flipbook").turn('method name'[, argument1, argument2]); 

When a method doesn’t return a value, it can be connected to another methods, for example:

$("#flipbook").turn("method1").turn("method2");

List of Methods

<yambe:breadcrumb>API</yambe:breadcrumb>