Turn Methods: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Methods are used to perform actions such as turn the page or change a state of the flipbook.  
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">
$("#flipbook").turn('method name'[, argument1, argument2]);  
$("#flipbook").turn('method name'[, argument1, argument2]);  

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