Turn Methods: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<yambe:breadcrumb>Main Page</yambe:breadcrumb>
Methods are used to perform actions such as turn the page or change the state of a property.
Methods are used to perform actions such as turn the page or change the state of a property.


Line 33: Line 32:
* [[Method: stop|stop]]
* [[Method: stop|stop]]
* [[Method: zoom|zoom]]
* [[Method: zoom|zoom]]
<yambe:breadcrumb>Main Page</yambe:breadcrumb>

Revision as of 22:41, 5 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>Main Page</yambe:breadcrumb>