Views
Actions

Method: direction

From Turn.js Documentation
Revision as of 21:24, 15 July 2012 by Emmanuel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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

Main Page > API > Turn Methods > Method: direction