mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
update typings
This commit is contained in:
committed by
Black Wayne
parent
4f9515494c
commit
1e95e51f9b
22
types/checkbox-button.d.ts
vendored
Normal file
22
types/checkbox-button.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { ElementUIComponent } from './component'
|
||||
|
||||
/** Checkbox Button Component */
|
||||
export declare class ElCheckboxButton extends ElementUIComponent {
|
||||
/** 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
|
||||
|
||||
/** If the checkbox is disabled */
|
||||
disabled: boolean
|
||||
|
||||
/** If the checkbox is checked */
|
||||
checked: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user