UNPKG

spotify-audio-element

Version:

A custom element for the Spotify player with an API that aims to match the `<audio>` API

18 lines (16 loc) 430 B
declare class CustomAudioElement extends HTMLAudioElement { static readonly observedAttributes: string[]; attributeChangedCallback( attrName: string, oldValue?: string | null, newValue?: string | null ): void; connectedCallback(): void; disconnectedCallback(): void; config: { startAt?: number; theme?: 'dark' | 'light'; preferVideo?: boolean; }; } export { CustomAudioElement as default };