Skip to content

EZ Web Audio / SoundEventType

Type Alias: SoundEventType

SoundEventType = keyof SoundEventMap

Defined in: packages/core/src/events/event-types.ts:164

Union of all valid event names for sound instances. Use this for type-safe event name parameters:

Example

typescript
function on(event: SoundEventType, handler: Function) { ... }