Views
Actions

Event: end

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
Line 31: Line 31:
 
# [[Event: start| Start]] ''(From mouse action)''
 
# [[Event: start| Start]] ''(From mouse action)''
 
# [[Event: turning| Turning]]
 
# [[Event: turning| Turning]]
# [[Event: turned| Turning]]
+
# [[Event: turned| Turned]]
 
# [[Event: end| End]] ''(From mouse action)''
 
# [[Event: end| End]] ''(From mouse action)''
  
 
<yambe:breadcrumb>Turn Events</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Events</yambe:breadcrumb>

Revision as of 20:51, 6 July 2012

This event is triggered when the transition of a page stops.

Argument Type Description
event Object Event Object
page Number The number of the page
pageObject Object The page object

Example:


$("#flipbook").bind("end", function(event, page, pageObject){
	alert("turn.end:" +page);
});

Event Sequence

  1. Start (From mouse action)
  2. Turning
  3. Turned
  4. End (From mouse action)
Main Page > API > Turn Events > Event: end