AUDIO_LOOP_MODE
enum
Audio
TypeScript enum for the loop strategy of OrigamAudio when a playlist is active (none, all, one).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- AUDIO_LOOP_MODE.NONE
- No loop — playback stops when the last track ends.
- AUDIO_LOOP_MODE.ALL
- Loop the whole playlist — wraps back to the first track after the last.
- AUDIO_LOOP_MODE.ONE
- Loop the current track — restarts the same track at 0 when it ends.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup