limestone/IconItem
Provides Limestone styled icon item components and behaviors.
Loading Live Preview
Loading Live Preview
Members
Section titled “Members ”IconItem Component
Section titled “IconItem   Component ”A limestone-styled icon item, Marquee and Spottable applied.
Usage:
<IconItem
background="#1b1b1b"
bordered
icon="usb"
/> Extends:
limestone/IconItemlimestone/IconItem.IconItemBase
Wrapped with:
limestone/IconItemlimestone/IconItem.IconItemDecorator
IconItemBase Component
Section titled “IconItemBase   Component ”A Limestone styled base component for limestone/IconItemlimestone/IconItem.IconItem.
Properties
background
Section titled “background”The background color, gradient, or image of this item. Accepts any format of color, gradient type value, and image url.
Example: '#ff0000', 'radial-gradient(crimson, skyblue)', 'url(https://examplehttps://example.com/image.png) center / cover'
bordered
Section titled “bordered”Specifies bordered or borderless.
children
Section titled “children”The custom component rendered as the content of this IconItem.
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:
iconItem- The icon item component classcontent- The class for the content area except titlebordered- The border classicon- The icon component classimage- The image component classlabelContainer- The label container classlabel- The label component classtitle- The title component class
data-webos-voice-intent
Section titled “data-webos-voice-intent”The voice control intent.
Default: 'Select'disabled
Section titled “disabled”Disable IconItem and becomes non-interactive.
The icon content. If this is specified, limestone/Iconlimestone/Icon.Icon will be shown as the content.
Source and size for the image. See the details in limestone/IconItemlimestone/IconItem.ImageShape
A label displayed in the content.
The color of label.
Default: 'light'Determines what triggers the label to show.
Default: 'render'Title text showing below the icon.
Determines what triggers the title to show.
Default: 'render'IconItemDecorator Higher-Order Component
Section titled “IconItemDecorator   Higher-Order Component ”Limestone-specific IconItem behaviors to apply to limestone/IconItemlimestone/IconItem.IconItem.
Includes:
limestone/Marqueelimestone/Marquee.MarqueeController
Includes:
spotlight/Spottablespotlight/Spottable.Spottable
Includes:
limestone/Skinnablelimestone/Skinnable.Skinnable
Type Definitions
Section titled “Type Definitions ”ImageShape Object
Section titled “ImageShape   Object ”The shape for image of limestone/IconItemlimestone/IconItem.
Size for the image. The following properties should be provided:
height- The height of the imagewidth- The width of the image
Source for the image. String value or Object of values used to determine which image will appear on a specific screenSize.