Views
Actions

Event: start

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
| corner
 
| corner
 
| Number
 
| Number
| [[Corner|The corner type]]
+
| [[Corner|Corner type]]
 
|}
 
|}
  

Revision as of 20:02, 6 July 2012

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