Property: size: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<pre type="javascript"> | <pre type="javascript"> | ||
var size = $("#flipbook").turn("size"); | var size = $("#flipbook").turn("size"); | ||
alert(" | alert("Width: "+size.width + ", Height:"+size.height); | ||
</pre> | </pre> | ||
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb> | <yambe:breadcrumb>Turn Properties</yambe:breadcrumb> |
Revision as of 04:10, 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);
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>