Article

list

Creates a generic container.

Overview

The list element is a generic element that contains nearly all other elements in the templates that use it. Here's an example of a list inside of a paradeTemplate. The list element contains the information for the page.

<paradeTemplate>
    <list>
        <header>
            <title>Movie Genres</title>
        </header>
        <section>
            <listItemLockup>
                <title>Action</title>
            </listItemLockup>
            <listItemLockup>
                <title>Comedy</title>
            </listItemLockup>
        </section>
        <relatedContent>
            <imgDeck>
                <img src="path to images on your server/Car_Movie_250x375.png "/>
                <img src="path to images on your server/Car_Movie_250x375_A.png "/>
                <img src="path to images on your server/Car_Movie_250x375_B.png "/>
                <img src="path to images on your server/Car_Movie_250x375_C.png "/>
            </imgDeck>
        </relatedContent>
    </list>
</paradeTemplate>

Subelements for list

Elements that Use list

Topics

Valid TVML Styles

margin

Specifies the spacing around an element.

padding

Specifies the padding between the border and contents of an element.

tv-align

Aligns an element horizontally inside its parent.

tv-interitem-spacing

Specifies the spacing between child elements.

width

Specifies how wide an element is.

Valid TVML Attributes

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

List Elements

collectionList

Contains other layout elements.

infoList

Displays info element information in a vertical format.