Skip to content

Titanium.UI.ViewTemplate

Template that represents a view subcomponent of an <ItemTemplate>.

See Titanium.UI.ListItem for examples of using an item template.

Since: 3.1.0 · Platforms: android, ipad, iphone, macos

Properties #

bindId#

Type: String

View's ID (or set of IDs) used for data binding. This value must be unique.

childTemplates#

Type: Array<ViewTemplate>

Contains an array of subview templates to be added (in order) as children to this view.

events#

Type: Dictionary

Contains key-value pairs of view events and their listeners that are applied to this view component.

Array values are considered as multiple event listeners for that event.

properties#

Type: Dictionary

Contains key-value pairs of view properties and their values that are applied to this view component.

Titanium SDK Documentation