Skip to content

Function: createRollSound() ​

ts
function createRollSound(win, load?): RollSound;

Defined in: src/ui/sound.ts:65

The tray's sound for one window. load fetches the recordings; it is the package's own lazy import unless a test hands in another.

Parameters ​

win ​

AudioWindow | undefined

load? ​

() => Promise<{ SOUNDS: SoundData; }>

Returns ​

RollSound

MIT © John Morris