Views
Actions

Method: previous

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>")
 
 
Line 1: Line 1:
 +
Turns the view to the previous one.
 +
 +
{| class="wikitable"
 +
|-
 +
! | ''This method does not have parameters.''
 +
|}
 +
 +
Example:
 +
 +
<pre class="javascript">
 +
$("#flipbook").turn("previous");
 +
</pre>
 +
 +
You can also go backward two views from the current one:
 +
 +
<pre class="javascript">
 +
$("#flipbook").turn("previous").turn("previous");
 +
</pre>
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 09:46, 6 July 2012

Turns the view to the previous one.

This method does not have parameters.

Example:

$("#flipbook").turn("previous");

You can also go backward two views from the current one:

$("#flipbook").turn("previous").turn("previous");
Main Page > API > Turn Methods > Method: previous