1
0
Fork 0
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:
Fred Chasen 2016-12-04 20:31:57 +01:00
parent fb04ac2c25
commit 582cc2fcb2
6 changed files with 322 additions and 1 deletions

View file

@ -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);