Views
Actions

Option: pages

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
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 21:15, 6 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
Main Page > API > Turn Options > Option: pages