UNPKG

2.37 kBTypeScriptView Raw
1export declare const PullRefresh: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 disabled: BooleanConstructor;
3 modelValue: BooleanConstructor;
4 headHeight: {
5 type: (NumberConstructor | StringConstructor)[];
6 default: number;
7 };
8 successText: StringConstructor;
9 pullingText: StringConstructor;
10 loosingText: StringConstructor;
11 loadingText: StringConstructor;
12 pullDistance: (NumberConstructor | StringConstructor)[];
13 successDuration: {
14 type: (NumberConstructor | StringConstructor)[];
15 default: number;
16 };
17 animationDuration: {
18 type: (NumberConstructor | StringConstructor)[];
19 default: number;
20 };
21}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "refresh")[], "update:modelValue" | "change" | "refresh", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22 disabled: BooleanConstructor;
23 modelValue: BooleanConstructor;
24 headHeight: {
25 type: (NumberConstructor | StringConstructor)[];
26 default: number;
27 };
28 successText: StringConstructor;
29 pullingText: StringConstructor;
30 loosingText: StringConstructor;
31 loadingText: StringConstructor;
32 pullDistance: (NumberConstructor | StringConstructor)[];
33 successDuration: {
34 type: (NumberConstructor | StringConstructor)[];
35 default: number;
36 };
37 animationDuration: {
38 type: (NumberConstructor | StringConstructor)[];
39 default: number;
40 };
41}>> & Readonly<{
42 onChange?: ((...args: any[]) => any) | undefined;
43 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
44 onRefresh?: ((...args: any[]) => any) | undefined;
45}>, {
46 disabled: boolean;
47 modelValue: boolean;
48 animationDuration: string | number;
49 headHeight: string | number;
50 successDuration: string | number;
51}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
52export default PullRefresh;
53export { pullRefreshProps } from './PullRefresh';
54export type { PullRefreshProps } from './PullRefresh';
55export type { PullRefreshThemeVars } from './types';
56declare module 'vue' {
57 interface GlobalComponents {
58 VanPullRefresh: typeof PullRefresh;
59 }
60}
61
\No newline at end of file