Event: turning

From Turn.js Documentation
Revision as of 20:48, 6 July 2012 by Emmanuel (Talk | contribs)

Jump to: navigation, search

This event is triggered before turning the page.

Argument Type Description
event Object Event Object
page Number The page number
view Array The new view
Default action
To turn the page

For example:

$("#flipbook").bind("turning", function(event, page, view) {
	alert("Turning the page to: "+page);

Event Sequence

1. Turning 1. Turned

Main Page > API > Turn Events > Event: turning