forked from vueComponent/ant-design-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspin.d.ts
51 lines (43 loc) · 1.13 KB
/
spin.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from './component';
export declare class Spin extends AntdComponent {
/**
* As indicator, you can define the global default spin element
* @param param0 indicator
*/
static setDefaultIndicator({ indicator }: { indicator: any }): void;
/**
* specifies a delay in milliseconds for loading state (prevent flush)
* @type number (milliseconds)
*/
delay: number;
/**
* vue node of the spinning indicator
* @type any (VNode | slot)
*/
indicator: any;
/**
* size of Spin, options: small, default and large
* @default 'default'
* @type string
*/
size: 'small' | 'default' | 'large';
/**
* whether Spin is spinning
* @default true
* @type boolean
*/
spinning: boolean;
/**
* customize description content when Spin has children
* @type string
*/
tip: string;
/**
* className of wrapper when Spin has children
* @type string
*/
wrapperClassName: string;
}