Views
Actions

Event: end

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
 
alert("turn.end:" +page);
 
alert("turn.end:" +page);
 
});
 
});
 
 
</pre>
 
</pre>
 +
 +
== Event Sequence ==
 +
# [[Event: start| Start]] (From mouse action)
 +
# [[Event: turning| Turning]]
 +
# [[Event: turned| Turning]]
 +
# [[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. Turning
  4. End (From mouse action)
Main Page > API > Turn Events > Event: end