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

Method notifyPlugins

src/core/core.controller.js:1133–1135  ·  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

1131 * @returns {boolean} false if any of the plugins return false, else returns true.
1132 */
1133 notifyPlugins(hook, args, filter) {
1134 return this._plugins.notify(this, hook, args, filter);
1135 }
1136
1137 /**
1138 * 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