Emit events in place of callbacks
Open
C-feature-request
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
Currently all events are handled via callbacks. These work fine generally, but the fact these events aren't actually emitted means you can't do things like:
``` js
chart.on('rendered', function(){ someFunction(); this.off(); })
```
Which would be useful if you want to run a function once upon initial render.
Contributor guide
Assessment
This issue has not been assessed yet.