Article

reviewCard

Displays abbreviated review information for a media item.

Overview

Here's a general example for a movie review.

<reviewCard>
    <badge src="resource://tomato-fresh-m" />
    <title>WWDC Review</title>
    <description>Brief review here</description>
    <text>Ravi Patel June, 8 2015</text>
</reviewCard>

Subelements of reviewCard

Elements that Use reviewCard

Topics

Valid TVML Styles

background-color

Changes the background color of an element.

border-radius

Changes the shape of an element's corner.

height

Specifies the height of an element.

padding

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

tv-align

Aligns an element horizontally inside its parent.

tv-highlight-color

Changes an element's color when it comes into focus.

tv-position

Sets the position of an element inside of its parent element.

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

Card Elements

card

Creates a generic element with its contained elements arranged through TVML styles.

ratingCard

Contains rating information about a product.