MCPcopy Create free account
hub / github.com/dashrobotco/robot-components / constructor

Method constructor

src/utils/SoundEffects.ts:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 private isEnabledCallback: (() => boolean) | null = null;
12
13 constructor() {
14 // Initialize on first user interaction
15 this.initializeOnUserInteraction();
16 }
17
18 private initializeOnUserInteraction() {
19 if (typeof window === 'undefined' || typeof document === 'undefined') {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected