Turn Methods: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<yambe:breadcrumb>Main Page</yambe:breadcrumb>") |
No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<yambe:breadcrumb> | Methods are used to perform actions such as turn the page or change the state of a property. | ||
'''Syntax:''' | |||
<pre class="javascript"> | |||
$("#flipbook").turn('method name'[, argument1, argument2]); | |||
</pre> | |||
When a method doesn’t return a value, it can be connected to | |||
another methods, for example: | |||
<pre class="javascript"> | |||
$("#flipbook").turn("method1").turn("method2"); | |||
</pre> | |||
=== List of Methods === | |||
* [[Method: addPage|addPage]] | |||
* [[Method: center|center]] | |||
* [[Method: destroy|destroy]] | |||
* [[Method: direction|direction]] | |||
* [[Method: display|display]] | |||
* [[Method: disable|disable]] | |||
* [[Method: hasPage|hasPage]] | |||
* [[Method: next|next]] | |||
* [[Method: is|is]] | |||
* [[Method: page|page]] | |||
* [[Method: pages|pages]] | |||
* [[Method: peel|peel]] | |||
* [[Method: previous|previous]] | |||
* [[Method: range|range]] | |||
* [[Method: removePage|removePage]] | |||
* [[Method: resize|resize]] | |||
* [[Method: size|size]] | |||
* [[Method: stop|stop]] | |||
* [[Method: version|version]] | |||
* [[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>