Views
Actions

Method: display

From Turn.js Documentation
Revision as of 20:45, 8 July 2012 by Emmanuel (Talk | contribs)

Jump to: navigation, search

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 rules overflow:hidden to the flipbook.

See also

Main Page > API > Turn Methods > Method: display