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>
<yambe:breadcrumb>Main Page</yambe:breadcrumb>
Methods are used to perform actions such as turn the page or change a state of the flipbook.
Syntax:
Syntax:
<pre class="javascript">
<pre class="javascript">

Revision as of 21:27, 5 July 2012

<yambe:breadcrumb>Main Page</yambe:breadcrumb>

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

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