checkbox.d.ts 676 B

12345678910111213141516171819202122232425262728
  1. import { ElementUIComponent } from './component'
  2. /** Checkbox Component */
  3. export declare class ElCheckbox extends ElementUIComponent {
  4. /** The form input value */
  5. value: string | string[]
  6. /** Value of the checkbox when used inside a checkbox-group */
  7. label: string
  8. /** Value of the checkbox if it's checked */
  9. trueLabel: string | number
  10. /** Value of the checkbox if it's not checked */
  11. falseLabel: string | number
  12. /** Native 'name' attribute */
  13. name: string
  14. /** If the checkbox is disabled */
  15. disabled: boolean
  16. /** If the checkbox is checked */
  17. checked: boolean
  18. /** Same as indeterminate in native checkbox */
  19. indeterminate: boolean
  20. }