Option: direction

From Turn.js Documentation
Jump to navigation Jump to search

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

Type Default value
String ltr


1. Specifying the direction as an option

$("#flipbook").turn({direction: "rtl"});

2. Using the HTML dir attribute.

<div id="flipbook" dir="rtl">

3. Using the CSS direction rule

#flipbook {

See also

<yambe:breadcrumb>Turn Options</yambe:breadcrumb>