Skip to content

Commit

Permalink
Merge pull request #166 from codeudan/gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
timdream authored Feb 24, 2021
2 parents 2cf086b + ef1d430 commit e3b2528
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ Available presents are `circle` (default), `cardioid` (apple or heart shape curv

### Interactive

Notice: `hover` and `click` are currently only for HTML5 canvas word clouds.

* `hover`: callback to call when the cursor enters or leaves a region occupied by a word. The callback will take arguments `callback(item, dimension, event)`, where `event` is the original `mousemove` event.
* `click`: callback to call when the user clicks on a word. The callback will take arguments `callback(item, dimension, event)`, where `event` is the original `click` event.

Expand Down

0 comments on commit e3b2528

Please sign in to comment.