sandstone/ Radio Item
Provides a Sandstone-themed Item component with an interactive radio toggle icon.
import RadioItem from '@enact/sandstone/RadioItem';
Members
RadioItemComponent
Renders an Item
with a radio-dot component. Useful to show a selected state on an Item.
import RadioItem from '@enact/sandstone/RadioItem';
Extends: sandstone/RadioItem.RadioItemBase
Wrapped with: sandstone/RadioItem.RadioItemDecorator
Properties
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:
radioItem
- The root class name
The icon to display when selected.
See: sandstone/Icon.IconDefault: 'circle'If true it will be selected.
Nodes to be inserted after the radio button and before
children
.
RadioItemBaseComponent
An item component with a radio toggle icon.
This component is most often not used directly but may be composed within another component as it is within RadioItem.
import {RadioItemBase} from '@enact/sandstone/RadioItem';
Extends: sandstone/Item.Item
RadioItemDecoratorHigher-Order Component
Sandstone specific behaviors to apply to RadioItem.
import {RadioItemDecorator} from '@enact/sandstone/RadioItem';
Includes: ui/Toggleable.Toggleable
ArrayBooleanFunctionModuleNumberObjectString