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:
parent
050f5dea7d
commit
558cd61cee
7 changed files with 248 additions and 32 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue