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
Line 1: Line 1:
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
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
| [[Corner]]
| You must specify this parameter
 
|}
 
Example:
 
<pre class="javascript">
// Shows a peeling page at the bottom right corner
$("#flipbook").turn("peel", "br");
</pre>

Revision as of 16:43, 6 July 2012

Shows a peeling page in the corner specified.

Parameter Type Description Default Value
corner String Corner You must specify this parameter

Example:

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