vue-amazing-ui
Version:
An Amazing Vue3 UI Components Library, Using TypeScript.
45 lines (44 loc) • 1.37 kB
TypeScript
export interface Props {
width?: string | number;
height?: string | number;
src?: string;
poster?: string;
second?: number;
fit?: 'none' | 'fill' | 'contain' | 'cover';
autoplay?: boolean;
controls?: boolean;
loop?: boolean;
muted?: boolean;
preload?: 'auto' | 'metadata' | 'none';
playIcon?: boolean;
iconSize?: number;
}
declare function play(): void;
declare function pause(): void;
declare const _default: import('vue').DefineComponent<Props, {
play: typeof play;
pause: typeof pause;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
pause: (...args: any[]) => void;
play: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
onPause?: ((...args: any[]) => any) | undefined;
onPlay?: ((...args: any[]) => any) | undefined;
}>, {
src: string;
width: string | number;
height: string | number;
autoplay: boolean;
fit: "none" | "fill" | "contain" | "cover";
loop: boolean;
iconSize: number;
poster: string;
second: number;
controls: boolean;
muted: boolean;
preload: "auto" | "metadata" | "none";
playIcon: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
veoRef: HTMLVideoElement;
}, HTMLDivElement>;
export default _default;