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

Method attached

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

Source from the content-addressed store, hash-verified

1020
1021 let detached; // eslint-disable-line prefer-const
1022 const attached = () => {
1023 _remove('attach', attached);
1024
1025 this.attached = true;
1026 this.resize();
1027
1028 _add('resize', listener);
1029 _add('detach', detached);
1030 };
1031
1032 detached = () => {
1033 this.attached = false;

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.95

Tested by

no test coverage detected