Event: change

From Turn.js Documentation
Revision as of 22:21, 3 August 2012 by Emmanuel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered before changing the current zoom of the flipbook

Argument Type Description
event Object Event Object
zoom Number New zoom
Default action
To change the zoom


$("#zoom-view").bind("zoom.change", function(event, newZoom) {
	// Disable the flipbook to zoom out
	if (newZoom<=1) {

<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>