Views
Actions

Property: size

From Turn.js Documentation
Revision as of 21:10, 5 July 2012 by Emmanuel (Talk | contribs)

Jump to: navigation, 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);
Main Page > API > Turn Properties > Property: size