MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / dispatch

Method dispatch

frontend/src/ts/utils/dom.ts:577–580  ·  view source on GitHub ↗

* Dispatch an event on the element

(event: keyof HTMLElementEventMap, eventInitDict?: EventInit)

Source from the content-addressed store, hash-verified

575 * Dispatch an event on the element
576 */
577 dispatch(event: keyof HTMLElementEventMap, eventInitDict?: EventInit): this {
578 this.native.dispatchEvent(new Event(event, eventInitDict));
579 return this;
580 }
581
582 /**
583 * Get the element's screen bounds: top, left, width and height

Callers 15

setSnapshotFunction · 0.80
loadUserFunction · 0.80
onAuthStateChangedFunction · 0.80
addAuthProviderFunction · 0.80
signInWithPopupFunction · 0.80
NavFunction · 0.80
LogoFunction · 0.80
AccountXpBarFunction · 0.80
handleModeClickFunction · 0.80
handleTimeClickFunction · 0.80
handleWordsClickFunction · 0.80
handleQuoteLengthClickFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected