Method: display: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Sets the display. There are two display modes: <tt>single</tt> for only one page per view and <tt>double</tt> for two pages per view. | |||
{| class="wikitable" | |||
|- | |||
! scope="col"| Parameter | |||
! scope="col"| Type | |||
! scope="col"| Description | |||
! scope="col"| Default Value | |||
|- | |||
| displayMode | |||
| String | |||
| Display value | |||
| You must specify this parameter | |||
|} | |||
Example: | |||
<pre class="javascript"> | |||
$("#flipbook").turn("display", "single"); | |||
</pre> | |||
'''Note:''' Using the single display will add the rule <tt>overflow:hidden</tt> to the flipbook. | |||
==See also== | |||
* [[Property: display|Property: display]] | |||
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb> | <yambe:breadcrumb>Turn Methods</yambe:breadcrumb> |
Latest revision as of 03:46, 9 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.
See also
<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>