PlayTileSoundOptionstype
How one sound is played.
Import it
import type { PlayTileSoundOptions } from "@johnmorrisdotca/jarajara/tile-sounds";
Definition
type PlayTileSoundOptions = {
count?: number;
gap?: number;
delay?: number;
};
Members
| Name | Type | Description |
|---|---|---|
count (optional) | number | undefined | How many tiles: |
gap (optional) | number | undefined | Milliseconds between one tile's sound and the next. Unless said, 85. |
delay (optional) | number | undefined | Milliseconds to wait before the first. Unless said, none. |
Examples
import type { PlayTileSoundOptions } from "@johnmorrisdotca/jarajara/tile-sounds";
const value: PlayTileSoundOptions = {count:3,gap:100,delay:0};
console.log(value);{ count: 3, gap: 100, delay: 0 }What it prints (run when this page was built)