Releases: alienzhou/web-highlighter
Releases · alienzhou/web-highlighter
0.4.0-beta.0
Features
- support highlighting on mobile devices: (#26 )
- automatically detect whether mobile devices
- use touch events when on mobile devices
Other updates
- source code: provide some internal methods for dom operation
- example app: bugfix & update
v0.3.5
Fix
- Bugfix: The
highlighter.removeAll()
method doesn't work
v0.3.3
Fix
- hook: Remove.UpdateNode --> Remove.UpdateNodes
Other update
- docs: english version
- use new README for the example
v0.3.2
Updates
- refactor: split some painter's functions
- update: update docs and the example
v0.3.1
- Structure refactor
- Handling compatibility issues
- Remove unnecessary modules
v0.0.3
Features
- support setting config dynamically
Break Changes
- rename
.render()
to .fromSource()
- rename
.highlight()
to .fromRange()
- remove
.init
method and highlight:init
event
v0.0.2
Features
- set highlight style (class) by id
- get highlight position info (offsetTop, offsetLeft)
- highlighting web text by passing range manually