MCPcopy Create free account
hub / github.com/alignoth/alignoth / off

Method off

resources/vega.min.js:14654–14664  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

14652 return this;
14653 }
14654 off(t, e) {
14655 const n = this.eventName(t),
14656 r = this._handlers[n],
14657 i = this._handlerIndex(r, t, e);
14658 return (
14659 i >= 0 &&
14660 (this._svg && this._svg.removeEventListener(n, r[i].listener),
14661 r.splice(i, 1)),
14662 this
14663 );
14664 }
14665 }
14666 const qv = (t, e) => (n) => {
14667 let r = n.target.__data__;

Callers

nothing calls this directly

Calls 2

eventNameMethod · 0.80
_handlerIndexMethod · 0.80

Tested by

no test coverage detected