-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathrate.d.ts
72 lines (61 loc) · 1.17 KB
/
rate.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// 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 Rate extends AntdComponent {
/**
* whether to allow clear when click again
* @default true
* @type boolean
*/
allowClear: boolean;
/**
* whether to allow semi selection
* @default false
* @type boolean
*/
allowHalf: boolean;
/**
* get focus when component mounted
* @default false
* @type boolean
*/
autoFocus: boolean;
/**
* custom character of rate
* @default <Icon type="star" />
* @type any (String or slot="character")
*/
character: any;
/**
* star count
* @default 5
* @type number
*/
count: number;
/**
* default value
* @default 0
* @type number
*/
defaultValue: number;
/**
* read only, unable to interact
* @default false
* @type boolean
*/
disabled: boolean;
/**
* current value
* @type number
*/
value: number;
/**
* remove focus
*/
blur(): void;
/**
* get focus
*/
focus(): void;
}