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

Method _getAnims

src/core/core.animator.js:112–128  ·  view source on GitHub ↗

* @private

(chart)

Source from the content-addressed store, hash-verified

110 * @private
111 */
112 _getAnims(chart) {
113 const charts = this._charts;
114 let anims = charts.get(chart);
115 if (!anims) {
116 anims = {
117 running: false,
118 initial: true,
119 items: [],
120 listeners: {
121 complete: [],
122 progress: []
123 }
124 };
125 charts.set(chart, anims);
126 }
127 return anims;
128 }
129
130 /**
131 * @param {Chart} chart

Callers 9

listenMethod · 0.95
addMethod · 0.95
hasMethod · 0.95

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected