Method: peel: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Shows a peeling page in the [[Corners|corner]] specified.
{| class="wikitable"
|-
! scope="col"| Parameter
! scope="col"| Type
! scope="col"| Description
! scope="col"| Default Value
|-
| corner
| String
| [[Corners|Corner]]
| You must specify this parameter
|-
| animate
| Boolean
| true
| Animation
|}
Example:
<pre class="javascript">
// Shows a peeling page at the bottom right corner
$("#flipbook").turn("peel", "br");
</pre>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 03:32, 10 July 2012

Shows a peeling page in the corner specified.

Parameter Type Description Default Value
corner String Corner You must specify this parameter
animate Boolean true Animation

Example:

// Shows a peeling page at the bottom right corner
$("#flipbook").turn("peel", "br");

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>