Turn Methods: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
* [[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>

Revision as of 02:00, 9 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>