mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Add themes methods to rendition
This commit is contained in:
parent
fb04ac2c25
commit
582cc2fcb2
6 changed files with 322 additions and 1 deletions
|
@ -559,6 +559,14 @@ DefaultViewManager.prototype.updateFlow = function(flow){
|
|||
|
||||
};
|
||||
|
||||
DefaultViewManager.prototype.getContents = function(){
|
||||
var contents = [];
|
||||
this.views.each(function(view){
|
||||
contents.push(view.contents);
|
||||
});
|
||||
return contents;
|
||||
};
|
||||
|
||||
//-- Enable binding events to Manager
|
||||
EventEmitter(DefaultViewManager.prototype);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue