UNPKG

2.95 kBTypeScriptView Raw
1import { SwipeProps } from './Swipe';
2export declare const Swipe: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 loop: {
4 type: BooleanConstructor;
5 default: true;
6 };
7 width: (NumberConstructor | StringConstructor)[];
8 height: (NumberConstructor | StringConstructor)[];
9 vertical: BooleanConstructor;
10 autoplay: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 duration: {
15 type: (NumberConstructor | StringConstructor)[];
16 default: number;
17 };
18 touchable: {
19 type: BooleanConstructor;
20 default: true;
21 };
22 lazyRender: BooleanConstructor;
23 initialSwipe: {
24 type: (NumberConstructor | StringConstructor)[];
25 default: number;
26 };
27 indicatorColor: StringConstructor;
28 showIndicators: {
29 type: BooleanConstructor;
30 default: true;
31 };
32 stopPropagation: {
33 type: BooleanConstructor;
34 default: true;
35 };
36}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "dragStart" | "dragEnd")[], "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37 loop: {
38 type: BooleanConstructor;
39 default: true;
40 };
41 width: (NumberConstructor | StringConstructor)[];
42 height: (NumberConstructor | StringConstructor)[];
43 vertical: BooleanConstructor;
44 autoplay: {
45 type: (NumberConstructor | StringConstructor)[];
46 default: number;
47 };
48 duration: {
49 type: (NumberConstructor | StringConstructor)[];
50 default: number;
51 };
52 touchable: {
53 type: BooleanConstructor;
54 default: true;
55 };
56 lazyRender: BooleanConstructor;
57 initialSwipe: {
58 type: (NumberConstructor | StringConstructor)[];
59 default: number;
60 };
61 indicatorColor: StringConstructor;
62 showIndicators: {
63 type: BooleanConstructor;
64 default: true;
65 };
66 stopPropagation: {
67 type: BooleanConstructor;
68 default: true;
69 };
70}>> & Readonly<{
71 onChange?: ((...args: any[]) => any) | undefined;
72 onDragStart?: ((...args: any[]) => any) | undefined;
73 onDragEnd?: ((...args: any[]) => any) | undefined;
74}>, {
75 autoplay: string | number;
76 loop: boolean;
77 vertical: boolean;
78 duration: string | number;
79 lazyRender: boolean;
80 touchable: boolean;
81 initialSwipe: string | number;
82 showIndicators: boolean;
83 stopPropagation: boolean;
84}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
85export default Swipe;
86export { swipeProps } from './Swipe';
87export type { SwipeProps };
88export type { SwipeInstance, SwipeToOptions, SwipeThemeVars } from './types';
89declare module 'vue' {
90 interface GlobalComponents {
91 VanSwipe: typeof Swipe;
92 }
93}
94
\No newline at end of file