Is there a way to make selected text highlights clickable (with hand pointer)?
Adding a highlight with rendition.annotations.add doesn't seem to make it clickable.
Ideally, i'd like to click the highlight and then get the cfiRange.
The original epubjs had something like this, but I could never figure out how it worked.
Any highlight added with annotations.add was never clickable. You could remove it and there would be a yellow highlight underneath that was clickable. But then annotations.remove wouldn't remove the yellow highlight.
For rendition.on - is there a trigger besides 'selected' or 'click' that only fires for clicks on highlights? I discovered a annotator.on("highlightClick") but annotator object didn't exist in the object as it was in example.
Is there a way to make selected text highlights clickable (with hand pointer)?
Adding a highlight with rendition.annotations.add doesn't seem to make it clickable.
Ideally, i'd like to click the highlight and then get the cfiRange.
The original epubjs had something like this, but I could never figure out how it worked.
Any highlight added with annotations.add was never clickable. You could remove it and there would be a yellow highlight underneath that was clickable. But then annotations.remove wouldn't remove the yellow highlight.
For rendition.on - is there a trigger besides 'selected' or 'click' that only fires for clicks on highlights? I discovered a annotator.on("highlightClick") but annotator object didn't exist in the object as it was in example.
Is there a list of all events for rendition.on?