Constructor

From Turn.js Documentation
Revision as of 03:26, 6 July 2012 by Emmanuel (talk | contribs)
Jump to navigation Jump to search

The constructor is where the flipbook or the zoom viewport is created. Therefore, it's called once and cannot be omitted.

Both the flipbook and the zoom viewport have independent constructors.

Turn Constructor

$(".magazine").turn([options]);

Turn Options

Zoom Constructor

$(".viewport").zoom(options);

Zoom options

<yambe:breadcrumb>API</yambe:breadcrumb>