27.07.2017 Views

turnjs4-api-docs

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

});<br />

}<br />

}<br />

alert(‘the current page is ’ + page);<br />

Properties<br />

Syntax:<br />

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

List of properties<br />

• animating<br />

Returns true when animating a page.<br />

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

• display<br />

Gets the current display. It can be single or double.<br />

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

• page<br />

Gets the current page.<br />

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

• pages<br />

Gets the number of pages within the flipbook<br />

$(‘#flipbook’).turn(‘pages’);

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

Saved successfully!

Ooh no, something went wrong!