Views
Actions

Property: zoom

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Gets the multiplication factor of the flipbook.  The default value is 1, which means that the flipbook has the same size specified by the [[Method: size|size] method.
+
Gets the multiplication factor of the flipbook.  The default value is 1, which means that the flipbook has the same size specified by the [[Method: size|size method]].  
  
 
Example:
 
Example:

Revision as of 08:35, 6 July 2012

Gets the multiplication factor of the flipbook. The default value is 1, which means that the flipbook has the same size specified by the size method.

Example:

var zoom = $("#flipbook").turn("zoom");
alert("Current zoom: "+zoom);
Main Page > API > Turn Properties > Property: zoom