Method: direction

From Turn.js Documentation
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>