MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / eventHandler

Method eventHandler

packages/sdks/web/src/index.ts:257–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 });
256
257 const eventHandler = () => this.debounce(() => this.screenView(), 50);
258
259 if (this.options.trackHashChanges) {
260 window.addEventListener('hashchange', eventHandler);

Callers

nothing calls this directly

Calls 2

debounceMethod · 0.95
screenViewMethod · 0.95

Tested by

no test coverage detected