Class: BrowseContent

Constructor

BrowseContent

new BrowseContent(browseItems, title)

Parameter

browseItems

Array of non-null cast.framework.ui.BrowseItem

List of browse items. Maximum items count is 30. Excess items will be truncated.

Value must not be null.

title

Optional

string

Title of the list.

Properties

items

non-null Array of non-null cast.framework.ui.BrowseItem

List of browse items. Maximum items count is 30. Excess items will be truncated.

targetAspectRatio

(non-null cast.framework.ui.BrowseImageAspectRatio or undefined)

Aspect ratio of all images in the media browse carousel. It's highly recommended to have browse item image provided in BrowseContentItem#image matching targetAspectRatio value. If image is too narrow/tall, it will be pillarboxed. If image is too wide/short, it will be letterboxed.

title

(string or undefined)

Title of the list.