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

Method attached

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.95

Tested by

no test coverage detected