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

Method has

src/core/core.animator.js:155–157  ·  view source on GitHub ↗

* Counts number of active animations for the chart * @param {Chart} chart

(chart)

Source from the content-addressed store, hash-verified

153 * @param {Chart} chart
154 */
155 has(chart) {
156 return this._getAnims(chart).items.length > 0;
157 }
158
159 /**
160 * Start animating (all charts)

Callers 7

renderMethod · 0.80
configureMethod · 0.80
getOptionScopesMethod · 0.80
getOwnPropertyDescriptorFunction · 0.80
hasFunction · 0.80
_resolveScriptableFunction · 0.80
setsEqualFunction · 0.80

Calls 1

_getAnimsMethod · 0.95

Tested by

no test coverage detected