Turn Methods: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Methods are used to perform actions such as turn the page or change the state of a property. | |||
Syntax: | '''Syntax:''' | ||
<pre class="javascript"> | <pre class="javascript"> | ||
$("#flipbook").turn('method name'[, argument1, argument2]); | $("#flipbook").turn('method name'[, argument1, argument2]); | ||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
== List of Methods == | === List of Methods === | ||
* [[Method: addPage|addPage]] | * [[Method: addPage|addPage]] | ||
* [[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> |
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
- addPage
- center
- destroy
- direction
- display
- disable
- hasPage
- next
- is
- page
- pages
- peel
- previous
- range
- removePage
- resize
- size
- stop
- version
- zoom
<yambe:breadcrumb>API</yambe:breadcrumb>