MCPcopy
hub / github.com/chartjs/Chart.js / notifyPlugins

Method notifyPlugins

src/core/core.controller.js:1129–1131  ·  src/core/core.controller.js::Chart.notifyPlugins

* Calls enabled plugins on the specified hook and with the given args. * This method immediately returns as soon as a plugin explicitly returns false. The * returned value can be used, for instance, to interrupt the current action. * @param {string} hook - The name of the plugin method to call

(hook, args, filter)

Source from the content-addressed store, hash-verified

1127 * @returns {boolean} false if any of the plugins return false, else returns true.
1128 */
1129 notifyPlugins(hook, args, filter) {
1130 return this._plugins.notify(this, hook, args, filter);
1131 }
1132
1133 /**
1134 * Check if a plugin with the specific ID is registered and enabled

Callers 15

_initializeMethod · 0.95
_resizeMethod · 0.95
resetMethod · 0.95
updateMethod · 0.95
_updateLayoutMethod · 0.95
_updateDatasetsMethod · 0.95
_updateDatasetMethod · 0.95
renderMethod · 0.95
drawMethod · 0.95
_drawDatasetsMethod · 0.95
_drawDatasetMethod · 0.95
destroyMethod · 0.95

Calls 1

notifyMethod · 0.80

Tested by

no test coverage detected