UNPKG

@opensig/opendesign

Version:

<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>

143 lines (142 loc) 3.96 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; indicator?(_: { active: boolean; index: number; }): any; 'arrow-prev'?(_: {}): any; 'arrow-prev-icon'?(_: {}): any; 'arrow-next'?(_: {}): any; 'arrow-next-icon'?(_: {}): any; }; refs: { slidesRef: HTMLDivElement; containerRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ activeIndex: { type: NumberConstructor; }; effect: { type: import('vue').PropType<"gallery" | "toggle">; default: string; }; autoPlay: { type: BooleanConstructor; }; interval: { type: NumberConstructor; default: number; }; arrow: { type: import('vue').PropType<"always" | "hover" | "never">; default: string; }; arrowWrapClass: { type: import('vue').PropType<string | any[]>; }; hideIndicator: { type: BooleanConstructor; }; indicatorClick: { type: BooleanConstructor; }; indicatorWrapClass: { type: import('vue').PropType<string | any[]>; }; clickToSwitch: { type: BooleanConstructor; }; manualInit: { type: BooleanConstructor; }; activeClass: { type: StringConstructor; }; pauseOnHover: { type: BooleanConstructor; }; }>, { init: () => void; play: () => void; pause: () => void; active: (index: number, resumeAutoPlay?: boolean) => Promise<void>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { change: (to: number, from: number) => any; pause: (value: number) => any; "before-change": (to: number, from: number) => any; "update:activeIndex": (value: number) => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ activeIndex: { type: NumberConstructor; }; effect: { type: import('vue').PropType<"gallery" | "toggle">; default: string; }; autoPlay: { type: BooleanConstructor; }; interval: { type: NumberConstructor; default: number; }; arrow: { type: import('vue').PropType<"always" | "hover" | "never">; default: string; }; arrowWrapClass: { type: import('vue').PropType<string | any[]>; }; hideIndicator: { type: BooleanConstructor; }; indicatorClick: { type: BooleanConstructor; }; indicatorWrapClass: { type: import('vue').PropType<string | any[]>; }; clickToSwitch: { type: BooleanConstructor; }; manualInit: { type: BooleanConstructor; }; activeClass: { type: StringConstructor; }; pauseOnHover: { type: BooleanConstructor; }; }>> & Readonly<{ onChange?: ((to: number, from: number) => any) | undefined; onPause?: ((value: number) => any) | undefined; "onBefore-change"?: ((to: number, from: number) => any) | undefined; "onUpdate:activeIndex"?: ((value: number) => any) | undefined; }>, { effect: "toggle" | "gallery"; autoPlay: boolean; interval: number; arrow: "always" | "never" | "hover"; hideIndicator: boolean; indicatorClick: boolean; clickToSwitch: boolean; manualInit: boolean; pauseOnHover: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, { slidesRef: HTMLDivElement; containerRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };