Views
Actions

Method: is

From Turn.js Documentation
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