Views
Actions

Property: size

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 7: Line 7:
 
alert("Width: "+size.width + ", Height:"+size.height);
 
alert("Width: "+size.width + ", Height:"+size.height);
 
</pre>
 
</pre>
 +
 +
==See also==
 +
* [[Method: size|Method: size]]
 +
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>

Latest revision as of 18:41, 6 July 2012

Gets the size of the flipbook. It would be an object with two keys, width and height.

Example:

var size = $("#flipbook").turn("size");
alert("Width: "+size.width + ", Height:"+size.height);

[edit] See also

Main Page > API > Turn Properties > Property: size