element-ui/types/checkbox-button.d.ts

23 lines
574 B
TypeScript
Raw Normal View History

2021-06-07 11:56:04 +08:00
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
}