Method: zoom: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
==See also== | ==See also== | ||
* [[Property: zoom|Property: zoom]] | * [[Property: zoom|Property: zoom]] | ||
* [[Event: zooming| | * [[Event: zooming|Event: zooming]] | ||
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb> | <yambe:breadcrumb>Turn Methods</yambe:breadcrumb> |
Latest revision as of 01:48, 7 July 2012
Increases or decreases the size of the flipbook. The zoom method changes the width and height of the flipbook according to the scaling factor. If the factor is 1, the flipbook will take the original size assigned by the size method.
Parameter | Type | Description | Default Value |
---|---|---|---|
factor | Number | Factor of multiplication | You must specify this parameter |
Example:
// Reduce the size in half of the flipbook $("#flipbook").turn("zoom", 0.5);
See also
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>