Skip to content
joseph edited this page Feb 27, 2013 · 6 revisions

Monocle is a silky, tactile browser-based ebook reader.

It is designed to be format-agnostic, and works very well with EPUB, Zhook, MOBI (presumably), and plain old HTML content. Monocle does the job of presenting multiple HTML "components" in a paginated user interface. You can see it in action on the Monocle homepage.

Getting started

The basics

For a non-trivial Monocle implementation, your task is to connect the Monocle Reader to your book's HTML content and structure. You create something called "the book data object" to do this.

Advanced Monocle

Monocle is built to be extended. It's pretty flexible. You can create custom controls and custom page-turning interactions (called 'flippers' in Monocle). You can also hack away at the built-in styles. This section explains some of this stuff — but we also recommend that you explore some of the examples in the tests directory in this distribution.

Clone this wiki locally