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

Method attached

src/core/core.controller.js:1105–1113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1103
1104 let detached; // eslint-disable-line prefer-const
1105 const attached = () => {
1106 _remove('attach', attached);
1107
1108 this.attached = true;
1109 this.resize();
1110
1111 _add('resize', listener);
1112 _add('detach', detached);
1113 };
1114
1115 detached = () => {
1116 this.attached = false;

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.95

Tested by

no test coverage detected