Method: is: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Detects if a selector has an instance of turn.js.  
Detects if a selector has an instance of turn.js.  


{| class="wikitable"
{| class="wikitable"

Latest revision as of 16:33, 6 July 2012

Detects if a selector has an instance of turn.js.

This method does not have parameters.

Example:

if (!$("#flipbook").turn("is")) {
	// Create a new flipbook 
	$("#flipbook").turn();
}

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