Class

TVImageElement

A representation of a read-only DOM node containing the attributes that describe an image element.

Declaration

@interface TVImageElement : TVViewElement

Topics

Identifying an Image

URL

A URL that points to the location of the image.

imageType

The type of image.

TVImageType

The type of image.

srcset

A dictionary specifying versions of the same image for different resolutions.

Relationships

Inherits From

See Also

Custom Elements

TVElementFactory

An object used to register new elements to extend the Apple TV Markup Language (TVML).

TVTextElement

The textual content for the DOM element.

Creating TVML Elements

Avoid rewriting complex and often used elements by creating a simplified custom element.