checkbox-button.d.ts 574 Bytes
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
}