Skip to content

Latest commit

 

History

History
104 lines (60 loc) · 2.67 KB

EXAMPLES.md

File metadata and controls

104 lines (60 loc) · 2.67 KB

Examples

Basic

The minimum to work View example

Formats

Loading a book of different formats. (opf, epub, base64 and internal) View example

Custom Themes

Loading a book with custom themes View example

Initial Location

Loading a book with custom themes View example

Search

Search terms in the book View example

Open External Link

Search terms in the book View example

Annotations

Some use cases for text markup View example

Bookmarks

Using bookmarks in the book View example

Table Of Contents

Ordered list of links into the content View example

Javascript Injection

Inject a script into the open ebook instance View example

Spreads

Display an ebook two pages at a time. Sections of the ebook are displayed separately so if a section has a single page or an odd number of pages it will display with a blank page on the right. Use Tablet to see this works. View example

Scrolled Doc

Displays each "section" or "chapter" of the ebook in its entirety as a single page of variable height that you can scroll up and down. View example

Continuous Spreads

The example is the same as Spreads above except that the entire document is rendered at once without breaks so if a section has one page, the next section is shown beginning on the right-hand-page rather than a blank page. View example

With Slider

Navigate between locations with slider View example

Full Example

A complete reader using library resources View example