Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Event handling to use target instead currentTarget (#5575)
If you attach event handlers to a container rather than directly to the canvas then the currentTarget is the container, event.target is the canvas that triggers the event. It's useful to do this if you have many charts or are creating them dynamically.
- Loading branch information