Flipbook options
Useful flipbook options
Table of Contents
Table of Contents for flipbook can be defined in couple of ways.
First method is with tableOfContents
array, for example
It can also be defined by setting title
attribute for pages in pages
array. Pages that have title
will show up in Table of Contents
For PDF flipbook, if PDF has outline embedded, flipbook will automatically show the PDF outline as Table of Contents.
Lightbox
Lightbox allows you to open the flipbook after an element on the page is clicked (image, button or any other element). Enable lightbox with option
Creating a flipbook that will open when a button is clicked:
Instead of button, any element can be used.
Lightbox flipbook will start to load pages only after the flipbook is opened, so this is very useful if you want to have multiple flipbooks on the same page.
Deep linking
Deep linking allows you to open a flipbook at a certain page directly with a link.
Enable the deep linking by setting a custom prefix, for example
Now you can link to page 2 of the flipbook (or any page) by adding #book1_2 at the end of the page URL
Google Analytics
By adding UA or GA4 property ID, you will be able to track custom events from flipbook in that property.
Mobile
Override any option for mobile, this can be used to slightly adjust or create entirely different flipbook for mobile.
Example of different settings for mobile
Other options
Many other options are available, the full list is here
Last updated