vue-silentbox
Version:
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://silentbox.rocek.dev/images/sb3-dark.png"> <img alt="SilentBox logo." src="https://silentbox.rocek.dev/images/sb3-light.png"> </picture> </p>
19 lines (18 loc) • 409 B
TypeScript
export interface ItemProps {
src: string;
srcSet?: string[];
thumbnailWidth: number;
thumbnailHeight: number;
thumbnail?: string;
alt?: string;
description?: string;
autoplay?: boolean;
controls?: boolean;
download?: boolean | string;
}
export interface OverlayEventProps {
item: ItemProps;
}
export interface SilentBoxOptions {
downloadButtonLabel?: string;
}