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

Method fire

resources/vega.min.js:14421–14433  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

14419 (this.fire(Mv, t, !0), (this._touch = null));
14420 }
14421 fire(t, e, n) {
14422 const r = n ? this._touch : this._active,
14423 i = this._handlers[t];
14424 if (
14425 ((e.vegaType = t),
14426 t === Fv && r && r.href
14427 ? this.handleHref(e, r, r.href)
14428 : (t !== Dv && t !== Cv) || this.handleTooltip(e, r, t !== Cv),
14429 i)
14430 )
14431 for (let t = 0, n = i.length; t < n; ++t)
14432 i[t].handler.call(this._obj, e, r);
14433 }
14434 on(t, e) {
14435 const n = this.eventName(t),
14436 r = this._handlers;

Callers 9

DOMMouseScrollMethod · 0.95
pointerdownMethod · 0.95
mousedownMethod · 0.95
clickMethod · 0.95
touchstartMethod · 0.95
touchmoveMethod · 0.95
touchendMethod · 0.95
TvFunction · 0.80
BvFunction · 0.80

Calls 2

handleHrefMethod · 0.80
handleTooltipMethod · 0.80

Tested by

no test coverage detected