UNPKG

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