Method: size: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>") |
No edit summary |
||
Line 1: | Line 1: | ||
Sets the size of the flipbook. | |||
{| class="wikitable" | |||
|- | |||
! scope="col"| Parameter | |||
! scope="col"| Type | |||
! scope="col"| Description | |||
! scope="col"| 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: | |||
<pre class="javascript"> | |||
// Resize the flipbook to 1000x600 | |||
$("#flipbook").turn("size", 1000, 600); | |||
</pre> | |||
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb> | <yambe:breadcrumb>Turn Methods</yambe:breadcrumb> |
Revision as of 01:25, 7 July 2012
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);
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>