@microsoft/fast-foundation > Checkbox
Checkbox class
A Checkbox Custom HTML Element. Implements the ARIA checkbox.
checked-indicator - The checked indicator
indeterminate-indicator - The indeterminate indicator
- The default slot for the label
control - The element representing the visual checkbox control
label - The label
change - Emits a custom change event when the checked state changes
Signature:export declare class Checkbox extends FormAssociatedCheckbox
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)() | Constructs a new instance of the Checkbox class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
indeterminate | boolean | The indeterminate state of the control | |
readOnly | boolean | When true, the control will be immutable by user interaction. See readonly HTML attribute for more information. |