update typings

This commit is contained in:
Leopoldthecoder
2017-10-18 18:31:03 +08:00
committed by Black Wayne
parent 4f9515494c
commit 1e95e51f9b
91 changed files with 740 additions and 233 deletions

22
types/checkbox-button.d.ts vendored Normal file
View 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
}