album-viewer
Version:
The `album-viewer` web component fetches and displays albums from a specified [Bandcamp](https://bandcamp.com) artist
21 lines (20 loc) • 570 B
TypeScript
import { LitElement } from "lit";
export declare class AlbumViewer extends LitElement {
/**
* @property url - The name of the artist to fetch the albums for
*/
name: string;
iframeWidth: string;
iframeHeight: string;
iframeBorder: string;
firstUpdated(): void;
fetchAlbumData(): Promise<void>;
displayAlbums(albums: any[]): void;
render(): import("lit-html").TemplateResult<1>;
static styles: import("lit").CSSResult;
}
declare global {
interface HTMLElementTagNameMap {
"album-viewer": AlbumViewer;
}
}