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

Method _remove

src/core/core.controller.js:1091–1096  ·  view source on GitHub ↗
(type, listener)

Source from the content-addressed store, hash-verified

1089 listeners[type] = listener;
1090 };
1091 const _remove = (type, listener) => {
1092 if (listeners[type]) {
1093 platform.removeEventListener(this, type, listener);
1094 delete listeners[type];
1095 }
1096 };
1097
1098 const listener = (width, height) => {
1099 if (this.canvas) {

Callers

nothing calls this directly

Calls 1

removeEventListenerMethod · 0.45

Tested by

no test coverage detected