sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
36 lines (35 loc) • 1.73 kB
TypeScript
import { type SwiperProps, type SwiperSlots } from './common';
declare function __VLS_template(): Readonly<SwiperSlots> & SwiperSlots;
declare const __VLS_component: import("vue").DefineComponent<SwiperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:model-value": (index: number) => any;
click: (index: number) => any;
change: (index: number) => any;
}, string, import("vue").PublicProps, Readonly<SwiperProps> & Readonly<{
"onUpdate:model-value"?: ((index: number) => any) | undefined;
onClick?: ((index: number) => any) | undefined;
onChange?: ((index: number) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
modelValue: number;
duration: number;
circular: boolean;
interval: number;
list: (string | import("./common").SwiperItem)[];
showDot: boolean;
dotType: "index" | "dot" | "title" | "dot-bar" | "fraction";
autoplay: boolean;
previousMargin: string;
nextMargin: string;
displayMultipleItems: number;
swiperItemStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
itemStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
dynamicItemStyle: (index: number, activeIndex: number) => import("vue").StyleValue;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};