Views
Actions

Method: is

From Turn.js Documentation
Revision as of 09:33, 6 July 2012 by Emmanuel (Talk | contribs)

Jump to: navigation, search

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();
}
Main Page > API > Turn Methods > Method: is