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

Method _remove

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

Source from the content-addressed store, hash-verified

1010 listeners[type] = listener;
1011 };
1012 const _remove = (type, listener) => {
1013 if (listeners[type]) {
1014 platform.removeEventListener(this, type, listener);
1015 delete listeners[type];
1016 }
1017 };
1018
1019 const listener = (width, height) => {
1020 if (this.canvas) {

Callers

nothing calls this directly

Calls 1

removeEventListenerMethod · 0.45

Tested by

no test coverage detected