Property: size

From Turn.js Documentation
Revision as of 04:10, 6 July 2012 by Emmanuel (talk | contribs)
Jump to navigation Jump to search

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>