Views
Actions

Property: view

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 4: Line 4:
  
 
<pre class="javascript">
 
<pre class="javascript">
var view = $("#flipbook").turn("view").join(' and ');
+
var view = $("#flipbook").turn("view").join(" and ");
 
alert("Current view: "+view);
 
alert("Current view: "+view);
 
</pre>
 
</pre>
  
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Properties</yambe:breadcrumb>

Latest revision as of 21:13, 5 July 2012

Gets the current view.

Example:

var view = $("#flipbook").turn("view").join(" and ");
alert("Current view: "+view);
Main Page > API > Turn Properties > Property: view