Views
Actions

Event: end

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

Revision as of 21:00, 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
  2. Turning
  3. Turned
  4. End
Main Page > API > Turn Events > Event: end