MCPcopy Create free account
hub / github.com/chartjs/Chart.js / notifyPlugins

Method notifyPlugins

src/core/core.controller.js:1214–1216  ·  view source on GitHub ↗

* 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

1212 * @returns {boolean} false if any of the plugins return false, else returns true.
1213 */
1214 notifyPlugins(hook, args, filter) {
1215 return this._plugins.notify(this, hook, args, filter);
1216 }
1217
1218 /**
1219 * 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