Method: range: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Returns an array of two values where the first element refers to a page number from which next pages should be contained in the DOM tree. The second element refers to the last page number of the
Returns an array of two values where the first element refers to a page number from which next pages should be contained in the DOM tree. The second element refers to the last page number of the
range. That is, the current range always has the following relationship: <tt>range[0] <= current page <= range[1]</tt>
range. That is, the current range always has the following relationship: <tt>range[0] <= $("#flipbook").turn("page") <= range[1]</tt>


<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Revision as of 16:48, 6 July 2012

Returns an array of two values where the first element refers to a page number from which next pages should be contained in the DOM tree. The second element refers to the last page number of the range. That is, the current range always has the following relationship: range[0] <= $("#flipbook").turn("page") <= range[1]

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>