Views
Actions

Method: size

From Turn.js Documentation
Jump to: navigation, search

Sets the size of the flipbook.

Parameter Type Description Default Value
width Number The width of the flipbook You must specify this parameter
height Number The height of the flipbook You must specify this parameter

Example:

// Resize the flipbook to 1000x600 
$("#flipbook").turn("size", 1000, 600);

See also

Main Page > API > Turn Methods > Method: size