Views
Actions

Method: display

From Turn.js Documentation
(Difference between revisions)
Jump to: navigation, search
 
Line 21: Line 21:
 
</pre>
 
</pre>
  
'''Note:''' Using the single display will add the rules <tt>overflow:hidden</tt> to the flipbook.  
+
'''Note:''' Using the single display will add the rule <tt>overflow:hidden</tt> to the flipbook.  
 
==See also==
 
==See also==
 
* [[Property: display|Property: display]]
 
* [[Property: display|Property: display]]
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>
 
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>

Latest revision as of 20:46, 8 July 2012

Sets the display. There are two display modes: single for only one page per view and double for two pages per view.

Parameter Type Description Default Value
displayMode String Display value You must specify this parameter

Example:

$("#flipbook").turn("display", "single");

Note: Using the single display will add the rule overflow:hidden to the flipbook.

[edit] See also

Main Page > API > Turn Methods > Method: display