UI
Customizing flipbook UI (toolbar) layout and style
Removing buttons
Each button can be removed from the toolbar, with enabled: false, for example to remove buttons Print and Download pages
btnPrint: {enabled: false},
btnDownloadPages: {enabled: false}Layout
There are 4 predefined layouts that you can choose from, with option
layout: "1", //"1", "2", "3", "4"Layout "1":
Default
layout "2" :
currentPage: { vAlign: 'bottom', hAlign: 'center' },
btnAutoplay: { hAlign: 'left' },
btnSound: { hAlign: 'left' },
btnExpand: { hAlign: 'right' },
btnZoomIn: { hAlign: 'right' },
btnZoomOut: { hAlign: 'right' },
btnSearch: { hAlign: 'left' },
btnBookmark: { hAlign: 'left' },
btnToc: { hAlign: 'left' },
btnThumbs: { hAlign: 'left' },
btnShare: { hAlign: 'right' },
btnPrint: { hAlign: 'right' },
btnDownloadPages: { hAlign: 'right' },
btnDownloadPdf: { hAlign: 'right' },
btnSelect: { hAlign: 'right' },layout "3"
layout "4":
Layout is basically a set of options. Each layout is a set of options, that can be customized further. For example you have customize layout "2" to move all buttons to top like this
Skins
There are 3 predefined skins
Advanced Customization
There are many other options for customizing the flipbook UI.
The full list of options that you can override to customize the flipbook UI is here
Here are some of the available options
Skin Colors
Bottom Menu
Top Menu
Buttons
Side Buttons (Arrows)
Floating Buttons (Alternative button style)
Customize Buttons
Each button in the toolbar can be customized. Button options look like this:
Buttons can also have properties
Button Defaults
Last updated