Skip to content
Enact

limestone/SwitchItem

Provides Limestone-themed item component and interactive toggleable switch.

Loading Live Preview

A Limestone-styled item with a switch component.

SwitchItem will manage its selected state via ui/Toggleableui/Toggleable unless set directly.

Extends: limestone/SwitchItemlimestone/SwitchItem.SwitchItemBase
Wrapped with: limestone/SwitchItemlimestone/SwitchItem.SwitchItemDecorator

Renders an item with a limestone/Switchlimestone/Switch.

Extends: limestone/Itemlimestone/Item.Item

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:

  • switchItem - The root class name


If true the switch will be selected.

Default: false

Nodes to be inserted after children and before the switch.

Adds interactive functionality to SwitchItem.

Includes: ui/Toggleableui/Toggleable.Toggleable