How do i set the pdf to automatically display in single page view? Thanks
Figured it out, second line should be
controlsProps: { actions: {cmdSinglePage: {active: true}} },
Dont forget the comma at the end!
{
$('#container').FlipBook({ controlsProps: { actions: {cmdSinglePage: {active: true}} }, pdf: 'public/books/pdf/350_upper.pdf', propertiesCallback: function(props) { props.page.depth /= 2.5; props.cover.padding = 0.002; return props; }, template: { html: 'templates/default-book-view.html', styles: [ 'css/short-black-book-view.css' ], links: [ { rel: 'stylesheet', href: 'css/font-awesome.min.css' } ], script: 'js/default-book-view.js' } }); }
Hi !
Do you think you can help ? I would like to have a single page view by default ... your code provides a solution for this. Where do i add this code ?
Thanks for your reply.
Regards Coen
Figured it out, second line should be
controlsProps: { actions: {cmdSinglePage: {active: true}} },
Dont forget the comma at the end!
{
Hi !
Do you think you can help ? I would like to have a single page view by default ... your code provides a solution for this. Where do i add this code ?
Thanks for your reply.
Regards Coen