limestone/Item
Provides Limestone styled item components and behaviors. Useful for content in lists.
Loading Live Preview
Loading Live Preview
Members
Section titled “Members ”Item Component
Section titled “Item   Component ”A Limestone styled item with built-in support for marqueed text, and Spotlight focus.
Usage:
<Item>Item Content</Item> Extends:
limestone/Itemlimestone/Item.ItemBase
Wrapped with:
limestone/Itemlimestone/Item.ItemDecorator
ItemBase Component
Section titled “ItemBase   Component ”A Limestone styled item without any behavior.
Extends:
ui/Itemui/Item.ItemBase
Properties
centered
Section titled “centered”Centers the slots and content.
Called with a reference to the root component.
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:
item- The root class nameslotBefore- The slot (container) preceding the text of this componentslotAfter- The slot (container) following the text of this componentselected- Applied to aselectedbutton
disabled
Section titled “disabled”Applies a disabled style and the control becomes non-interactive.
inline
Section titled “inline”Applies inline styling to the item.
The label to be displayed along with the text.
The position of the label relative to the primary content, children.
Determines what triggers the marquee to start its animation.
slotAfter
Section titled “slotAfter”Nodes to be inserted after children.
For LTR locales, the nodes are inserted to the right of the primary content. For RTL locales, the nodes are inserted to the left. If nothing is specified, nothing, not even an empty container, is rendered in this place.
slotAfterAria
Section titled “slotAfterAria”Aria-label for slotAfter icon.
slotBefore
Section titled “slotBefore”Nodes to be inserted before children and label.
For LTR locales, the nodes are inserted to the left of the primary content. For RTL locales, the nodes are inserted to the right. If nothing is specified, nothing, not even an empty container, is rendered in this place.
slotBeforeAria
Section titled “slotBeforeAria”Aria-label for slotBefore icon.
ItemDecorator Higher-Order Component
Section titled “ItemDecorator   Higher-Order Component ”Limestone specific item behaviors to apply to limestone/Itemlimestone/Item.ItemBase.
Includes:
ui/Itemui/Item.ItemDecorator
Includes:
ui/Slottableui/Slottable.Slottable
Includes:
spotlight/Spottablespotlight/Spottable.Spottable
Includes:
limestone/Marqueelimestone/Marquee.MarqueeController
Includes:
limestone/Skinnablelimestone/Skinnable.Skinnable