mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
New continuos render
This commit is contained in:
parent
0013cf417d
commit
03aef89037
13 changed files with 2027 additions and 120 deletions
|
@ -162,7 +162,7 @@ EPUBJS.Book.prototype.section = function(target) {
|
|||
|
||||
// Sugar to render a book
|
||||
EPUBJS.Book.prototype.renderTo = function(element, options) {
|
||||
this.rendition = new EPUBJS.Renderer(this, options);
|
||||
this.rendition = new EPUBJS.Rendition(this, options);
|
||||
this.rendition.attachTo(element);
|
||||
return this.rendition;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue