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

Method _remove

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

Source from the content-addressed store, hash-verified

1006 listeners[type] = listener;
1007 };
1008 const _remove = (type, listener) => {
1009 if (listeners[type]) {
1010 platform.removeEventListener(this, type, listener);
1011 delete listeners[type];
1012 }
1013 };
1014
1015 const listener = (width, height) => {
1016 if (this.canvas) {

Callers

nothing calls this directly

Calls 1

removeEventListenerMethod · 0.45

Tested by

no test coverage detected