]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Cleanup Event Handling code to match style of tooltip plugin. (#7467)
authorEvert Timberg <evert.timberg+github@gmail.com>
Mon, 8 Jun 2020 11:31:00 +0000 (07:31 -0400)
committerGitHub <noreply@github.com>
Mon, 8 Jun 2020 11:31:00 +0000 (07:31 -0400)
commit3ec3ac716f67860021ec3f5346706b23e06e883f
tree68d64703913eb1f49eb03826059f218515c8b10d
parent1cdfea8503366d3ed3647259568a2b5b374c6622
Cleanup Event Handling code to match style of tooltip plugin. (#7467)

* Cleanup Event Handling code to match style of tooltip plugin.

Eliminates saving two arrays of items on the chart prototype. The `onHover`
callback now receives the wrapped event instead of the native one.
docs/docs/getting-started/v3-migration.md
src/core/core.controller.js
test/specs/core.controller.tests.js