Views
Actions

Event: start

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

Jump to: navigation, search

This event is triggered when an animation of a page starts.

Argument Type Description
event Object Event Object
page Number The page number
corner Number Corner type

Example:

$("#flipbook").bind("missing", function(event, page) {
	for (var i = 0; i < pages.length; i++) {
		$(this).turn("addPage", $("<div />"), pages[i]);
	}
});
Main Page > API > Turn Events > Event: start