mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Fix the parameter order of before/afterEvent (#7757)
This commit is contained in:
parent
4fa2c408f0
commit
c749fbdf5f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user