Views
Actions

Event: end

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "<yambe:breadcrumb>Turn Events</yambe:breadcrumb>")
 
Line 1: Line 1:
<yambe:breadcrumb>Turn Events</yambe:breadcrumb>
+
This event is triggered when the transition of a page stops.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Argument
 +
! scope="col"| Type
 +
! scope="col"| Description
 +
|-
 +
| event
 +
| Object
 +
| Event Object
 +
|-
 +
| page
 +
| Number
 +
| The number of the page
 +
|-
 +
| pageObject
 +
| Object
 +
| [[Page Object|The page object]]
 +
|}
 +
 
 +
Example:
 +
<pre class="javascript">
 +
 
 +
$("#flipbook").bind("end", function(event, page, pageObject){
 +
alert("turn.end:" +page);
 +
});
 +
 
 +
</pre>
 +
 
 +
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Revision as of 19:44, 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);
});

Main Page > API > Turn Methods > Event: end