Option: pages: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sets an arbitrary number of pages. If the number of pages is bigger than the number of elements in the <tt>#flipbook</tt>, it will be necessary to add those pages dynamically using the [[Method: addPage|addPage]] method.
{| class="wikitable"
|-
! scope="row" | Type
! scope="row" | Default value
|-
| Number
| <pre class="javascript">$("#flipbook").children().length</pre>
|}
<yambe:breadcrumb>Turn Options</yambe:breadcrumb>
<yambe:breadcrumb>Turn Options</yambe:breadcrumb>

Latest revision as of 04:15, 7 July 2012

Sets an arbitrary number of pages. If the number of pages is bigger than the number of elements in the #flipbook, it will be necessary to add those pages dynamically using the addPage method.

Type Default value
Number
$("#flipbook").children().length

<yambe:breadcrumb>Turn Options</yambe:breadcrumb>