@kelvininc/ui-components
Version:
Kelvin UI Components
14 lines (13 loc) • 559 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
export interface ICheckbox {
/** (optional) If `true` the checkbox is with checked state. Default: false */
checked?: boolean;
/** (optional) If `true` the checkbox is with disabled state. Default: false */
disabled?: boolean;
/** (optional) If `true` the checkbox is with indeterminate state. Default: false */
indeterminate?: boolean;
}
export interface ICheckboxEvents {
/** Emitted when the checkbox checked state changes */
clickCheckbox: EventEmitter<void>;
}