Method: hasPage

From Turn.js Documentation
Revision as of 16:28, 6 July 2012 by Emmanuel (talk | contribs)
Jump to navigation Jump to search

Returns true if the flipbook has a page.

Parameter Type Description Default Value
pageNumber Number Page Number You must specify this parameter

Example:

if ($("#flipbook").turn("hasPage", 1)) {
	alert(‘Page 1 is already in the flipbook’);
}

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