1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

add highlights examples

This commit is contained in:
Fred Chasen 2016-01-08 19:22:58 -05:00
parent 050f5dea7d
commit 558cd61cee
7 changed files with 248 additions and 32 deletions

View file

@ -309,6 +309,7 @@ Rendition.prototype.render = function(view, show) {
Rendition.prototype.afterDisplayed = function(view){
this.trigger("added", view.section);
this.reportLocation();
};
Rendition.prototype.fill = function(view){
@ -635,7 +636,6 @@ Rendition.prototype.triggerViewEvent = function(e){
};
Rendition.prototype.triggerSelectedEvent = function(cfirange){
console.log(cfirange);
this.trigger("selected", cfirange);
};