27.07.2017 Views

turnjs4-api-docs

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• peel<br />

Shows a peeling corner.<br />

Parameter Type Description<br />

corner<br />

For example:<br />

String<br />

// To show the br corner<br />

$(‘#flipbook’).turn(‘peel’, ‘br’);<br />

// To hide all the corners<br />

$(‘#flipbook’).turn(‘peel’, false);<br />

Corner type.<br />

The corners can be: tl, tr, bl, br, r, l.<br />

• previous<br />

Turns the view to the previous one. For example:<br />

$(‘#flipbook’).turn(‘previous’);<br />

• range<br />

It returns an array of two values where the first element<br />

refers to a page from which next pages should be contained<br />

in DOM. The second element refers to the last page of the<br />

range. That is, the current range always has the following<br />

relationship: range[0]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!