Skip to content

Releases: alienzhou/web-highlighter

0.4.0-beta.0

20 Dec 07:51
111ebaa
Compare
Choose a tag to compare

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

18 Dec 06:16
Compare
Choose a tag to compare

Fix

  • Bugfix: The highlighter.removeAll() method doesn't work

v0.3.3

01 May 09:01
Compare
Choose a tag to compare

Fix

  • hook: Remove.UpdateNode --> Remove.UpdateNodes

Other update

  • docs: english version
  • use new README for the example

v0.3.2

21 Apr 09:28
d63d303
Compare
Choose a tag to compare

Updates

  • refactor: split some painter's functions
  • update: update docs and the example

v0.3.1

17 Apr 15:31
e362c96
Compare
Choose a tag to compare
  • Structure refactor
  • Handling compatibility issues
  • Remove unnecessary modules

v0.0.3

08 Dec 10:40
Compare
Choose a tag to compare

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

07 Dec 11:08
6c0c2b2
Compare
Choose a tag to compare

Features

  • set highlight style (class) by id
  • get highlight position info (offsetTop, offsetLeft)
  • highlighting web text by passing range manually