mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-10 10:16:50 +01:00
Fix the parameter order of before/afterEvent (#7757)
This commit is contained in:
@@ -289,8 +289,8 @@ function createDescriptors(plugins, options) {
|
||||
* the event will be discarded.
|
||||
* @param {Chart} chart - The chart instance.
|
||||
* @param {IEvent} event - The event object.
|
||||
* @param {object} options - The plugin options.
|
||||
* @param {boolean} replay - True if this event is replayed from `Chart.update`
|
||||
* @param {object} options - The plugin options.
|
||||
*/
|
||||
/**
|
||||
* @method IPlugin#afterEvent
|
||||
@@ -298,8 +298,8 @@ function createDescriptors(plugins, options) {
|
||||
* will not be called if the `event` has been previously discarded.
|
||||
* @param {Chart} chart - The chart instance.
|
||||
* @param {IEvent} event - The event object.
|
||||
* @param {object} options - The plugin options.
|
||||
* @param {boolean} replay - True if this event is replayed from `Chart.update`
|
||||
* @param {object} options - The plugin options.
|
||||
*/
|
||||
/**
|
||||
* @method IPlugin#resize
|
||||
|
||||
Reference in New Issue
Block a user