Article

decorationImage

Displays images inside of other elements.

Overview

The decorationImage element contains a link to an image that is displayed. Here's an example that displays a chevron image.

<decorationImage src="resource://list-chevron" />

Contained In

Topics

Valid TVML Styles

margin

Specifies the spacing around an element.

Valid TVML Attributes

contentsMode

Specifies how an image is expanded to fill its containing element.

src

Specifies the URL for an image.

srcset

Specifies multiple URLs for an image.

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Image Elements

fullscreenImg

Displays an image over an entire element.

heroImg

Displays an image that is usually large and detailed.

img

Displays an image.