Option: pages: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
{| class="wikitable"
{| class="wikitable"
|-
|-
! scope="row" align="right" | Type
! scope="row" | Type
! scope="row" | Default value
|-
| Number
| Number
|-
! scope="row" align="right" | Default value
| <pre class="javascript">$("#flipbook").children().length</pre>
| <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>