moonstone/ Form Checkbox
Contains the declaration for the orientation component.
import FormCheckbox from '@enact/moonstone/FormCheckbox';
Members
FormCheckboxComponent
moonstone/FormCheckbox.FormCheckbox represents a Boolean state, and looks like a check mark in a circle. It also has built-in spotlight support and is intended for use in a specialized Item that does not visually respond to focus, so this can show focus instead.
import FormCheckbox from '@enact/moonstone/FormCheckbox';
Properties
- disabled
Sets whether this control is disabled, and non-interactive
Default: false- onToggle
The handler to run when the component is toggled.
- selected
Sets whether this control is in the "on" or "off" state.
true
for on,false
for "off".Default: false
Boolean
Function
Boolean
ArrayBooleanFunctionModuleNumberObjectString