@arraypress/waveform-playlist-svelte
v0.3.0
Published
Svelte 5 component wrapper for @arraypress/waveform-playlist — a declarative `tracks` array, typed props for every option, lifecycle callback props, an exported imperative navigation API, and SSR-safe mounting.
Maintainers
Readme
Waveform Playlist for Svelte
Svelte 5 component wrapper for @arraypress/waveform-playlist.
Declarative tracks, typed props for every option, and an exported imperative navigation API.
Install
npm install @arraypress/waveform-playlist-svelte @arraypress/waveform-playlist @arraypress/waveform-player svelte<script lang="ts">
import { WaveformPlaylist } from '@arraypress/waveform-playlist-svelte';
</script>
<WaveformPlaylist tracks={[{ url: '/a.mp3', title: 'A', artist: 'Artist' }]} />Documentation
Every prop, the imperative API, and SSR notes live in the docs.
-> docs.waveformplayer.com
Svelte guide — install, props, the imperative API, and SSR notes. All four Svelte wrappers (player / bar / playlist) are on that page.
License
MIT © ArrayPress
