readium/readium-shared-js — pull request #32 by yuriyp (2014-07-07 18:09:42+00:00)
Title: Introducing media overlay highlighter events

Adding events for media overlay highligher. Those are necessary in case one wants to follow the (de-)highlighted elements with some applications' graphical elements (fade-out effects, adjustable audio button etc.)
Note that the events currently are triggered only by 'highlightElement' logic (w/o CFI). That's intentional, as with CFI we basically won't have an element in DOM when highlight is removed.