Method: direction

From Turn.js Documentation
Revision as of 04:24, 16 July 2012 by Emmanuel (talk | contribs) (Created page with "Sets the directionality of the flipbook. That is left-to-right (DIR=ltr, the default) or right-to-left (DIR=rtl). {| class="wikitable" |- ! scope="col"| Parameter ! scope="co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the directionality of the flipbook. That is left-to-right (DIR=ltr, the default) or right-to-left (DIR=rtl).

Parameter Type Description Default Value
direction String left-to-right (ltr) or right-to-left (rtl) You must specify this parameter

Example:

$("#flipbook").turn("direction", "rtl");

See also

<yambe:breadcrumb>Turn Methods</yambe:breadcrumb>