moonstone/ Item
Provides Moonstone styled item components and behaviors. Useful for content in lists.
import Item from '@enact/moonstone/Item';Members
ItemComponent
A Moonstone styled item with built-in support for marqueed text, and Spotlight focus.
Usage:
<Item>Item Content</Item>import Item from '@enact/moonstone/Item';Extends: moonstone/Item.ItemBase
Wrapped with: moonstone/Item.ItemDecorator
ItemBaseComponent
A Moonstone styled item without any behavior.
import {ItemBase} from '@enact/moonstone/Item';Extends: ui/Item.ItemBase
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:
item- The root class name
ItemDecoratorHigher-Order Component
Moonstone specific item behaviors to apply to Item.
import {ItemDecorator} from '@enact/moonstone/Item';Includes: spotlight/Spottable.Spottable
Includes: moonstone/Marquee.MarqueeDecorator
Includes: moonstone/Skinnable.Skinnable
ArrayBooleanFunctionModuleNumberObjectString