Views

From Turn.js Documentation
Revision as of 06:44, 26 November 2012 by Emmanuel (talk | contribs)
Jump to navigation Jump to search

A view contains the pages that are visible. Technically, it's a simple array of two values if the display is set to double page or one value if the display is single.


Examples of views

  • if the display is set to double, a flipbook of 8 pages would have the following views

[0,1] [2,3] [4,5] [6,7] [8, 0]

  • if the display is set to single, a 4 pages long flipbook would have the following views

[1] [2] [3] [4]


See also


<yambe:breadcrumb>Main Page</yambe:breadcrumb>