Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event handling to use target instead currentTarget #5575

Merged
merged 1 commit into from
Aug 10, 2018

Commits on Jun 19, 2018

  1. Event handling to use target instead currentTarget

    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.
    teroman authored Jun 19, 2018
    Configuration menu
    Copy the full SHA
    479e2ee View commit details
    Browse the repository at this point in the history