UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

44 lines (43 loc) 1.3 kB
import { ExtractPropTypes, PropType } from "vue"; export declare const UiCarouselPropsOption: { readonly arrow: { readonly type: PropType<"hover" | "always" | "never">; readonly default: "hover"; }; readonly delay: { readonly type: NumberConstructor; readonly default: 3000; }; readonly transitionDelay: { readonly type: NumberConstructor; readonly default: 500; }; readonly width: { readonly type: PropType<string | number>; readonly default: "100%"; }; readonly height: { readonly type: PropType<string | number>; readonly default: "100%"; }; readonly drag: { readonly type: BooleanConstructor; readonly default: false; }; readonly autoplay: { readonly type: BooleanConstructor; readonly default: true; }; readonly pagination: { readonly type: BooleanConstructor; readonly default: true; }; }; export type UiCarouselProps = ExtractPropTypes<typeof UiCarouselPropsOption>; export declare const UiCarouselEmits: { drag: () => boolean; next: (_number: number) => boolean; change: (_number: number) => boolean; "drag-after": () => boolean; "change-after": (_number: number) => boolean; };