forked from xfy520/vue3-seamless-scroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
34 lines (32 loc) · 927 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
type OptionsType = {
modelValue?: boolean;
list: Array<unknown>;
step?: number;
limitScrollNum?: number;
hover?: boolean;
direction?: "up" | "down" | "left" | "right";
singleHeight?: number;
singleWidth?: number;
singleWaitTime?: number;
isRemUnit?: boolean;
isWatch?: boolean;
delay?: number;
ease?: "ease-in" | "linear" | "ease" | "ease-out" | "ease-in-out" | {
x1: number,
y1: number,
x2: number,
y2: number,
};
count?: number;
copyNum?: number;
wheel?: boolean;
singleLine?: boolean;
}
declare module 'vue3-seamless-scroll' {
export const Vue3SeamlessScroll: import('vue').DefineComponent < OptionsType, OptionsType, OptionsType, OptionsType, OptionsType,
OptionsType, OptionsType, OptionsType, OptionsType, OptionsType, OptionsType, OptionsType >
const install: (app: import('vue').App, options: {
name: string
}) => unknown;
export default install;
}