forked from ElemeFE/element
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckbox.d.ts
34 lines (24 loc) · 881 Bytes
/
checkbox.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
import { ElementUIComponent, ElementUIComponentSize } from './component'
/** Checkbox Component */
export declare class ElCheckbox extends ElementUIComponent {
/** The form input value */
value: string | string[]
/** Value of the checkbox when used inside a checkbox-group */
label: string | number | boolean
/** Value of the checkbox if it's checked */
trueLabel: string | number
/** Value of the checkbox if it's not checked */
falseLabel: string | number
/** Native 'name' attribute */
name: string
/** Whether to add a border around Checkbox */
border: boolean
/** Size of the Checkbox, only works when border is true */
size: ElementUIComponentSize
/** If the checkbox is disabled */
disabled: boolean
/** If the checkbox is checked */
checked: boolean
/** Same as indeterminate in native checkbox */
indeterminate: boolean
}