moonstone/Checkbox

Contains the declaration for the moonstone/Checkbox.Checkbox component.

import Checkbox from '@enact/moonstone/Checkbox';

Members

CheckboxComponent

moonstone/Checkbox.Checkbox represents a Boolean state, and looks like a check mark in a box.

import Checkbox from '@enact/moonstone/Checkbox';
Properties
disabled
Boolean

Sets whether this control is disabled, and non-interactive

Default: false
onToggle
Function

The handler to run when the component is toggled.

selected
Boolean

Sets whether this control is in the "on" or "off" state. true for on, false for "off".

Default: false
ArrayBooleanFunctionModuleNumberObjectString