Skip to content

1681-engine / index / MusicOptions

Interface: MusicOptions ​

Defined in: src/audio/MusicPlayer.ts:17

Properties ​

pauseInBackground? ​

ts
optional pauseInBackground?: boolean;

Defined in: src/audio/MusicPlayer.ts:20

Stop the music while the page is hidden (an app sent to the background). Default: on touch devices.


route? ​

ts
optional route?: MusicRoute;

Defined in: src/audio/MusicPlayer.ts:18

Released under the MIT License.