mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Added basic pagination
This commit is contained in:
parent
1a89a9c3ff
commit
816880d328
12 changed files with 1289 additions and 373 deletions
|
@ -162,9 +162,9 @@ EPUBJS.Book.prototype.section = function(target) {
|
|||
|
||||
// Sugar to render a book
|
||||
EPUBJS.Book.prototype.renderTo = function(element, options) {
|
||||
var rendition = new EPUBJS.Renderer(this, options);
|
||||
rendition.attachTo(element);
|
||||
return rendition;
|
||||
this.rendition = new EPUBJS.Renderer(this, options);
|
||||
this.rendition.attachTo(element);
|
||||
return this.rendition;
|
||||
};
|
||||
|
||||
EPUBJS.Book.prototype.requestMethod = function(_url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue