limestone/Checkbox
Limestone styled checkbox components.
Loading Live Preview
Loading Live Preview
Members
Section titled “Members ”Checkbox Component
Section titled “Checkbox   Component ”A Limestone-styled checkbox component.
Checkbox will manage its selected state via ui/Toggleableui/Toggleable unless set
directly.
Extends:
limestone/Checkboxlimestone/Checkbox.CheckboxBase
Wrapped with:
limestone/Checkboxlimestone/Checkbox.CheckboxDecorator
CheckboxBase Component
Section titled “CheckboxBase   Component ”A checkbox component, ready to use in Limestone applications.
Checkbox may be used independently to represent a toggleable state but is more commonly used as
part of limestone/CheckboxItemlimestone/CheckboxItem.
Usage:
<Checkbox selected /> Extends:
limestone/Iconlimestone/Icon.Icon
Properties
The icon displayed when selected.
May be specified as either:
A string that represents an icon from the limestone/Iconlimestone/Icon.iconList,
An HTML entity string, Unicode reference or hex value (in the form '0x...'),
A URL specifying path to an icon image, or
An object representing a resolution independent resource (See ui/resolutionui/resolution)
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
checkbox- The root class nameselected- Applied when theselectedprop is true
disabled
Section titled “disabled”Disables Checkbox and becomes non-interactive.
Default: falseindeterminate
Section titled “indeterminate”Enables the "indeterminate" state.
An indeterminate, mixed, or half-selected state is typically used in a hierarchy or group to represent that some, not all, children are selected.
NOTE: This does not prevent updating the selected state. Applications must control this
property directly.
indeterminateIcon
Section titled “indeterminateIcon”The icon to be used in the indeterminate state.
May be specified as either:
A string that represents an icon from the limestone/Iconlimestone/Icon.Icon.iconList,
An HTML entity string, Unicode reference or hex value (in the form '0x...'),
A URL specifying path to an icon image, or
An object representing a resolution independent resource (See ui/resolutionui/resolution)
selected
Section titled “selected”Sets whether this control is in the 'on' or 'off' state. true for 'on', false for 'off'.
CheckboxDecorator Higher-Order Component
Section titled “CheckboxDecorator   Higher-Order Component ”Adds interactive functionality to Checkbox.
Includes:
ui/Toggleableui/Toggleable.Toggleable
Includes:
limestone/Skinnablelimestone/Skinnable.Skinnable
Includes:
spotlight/Spottablespotlight/Spottable.Spottable