# ViewTemplate

Template that represents a view subcomponent of an ItemTemplate.

Availability
3.1.0
3.1.0
9.2.0
Extends
Object

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Overview

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

# Properties

# bindId

Availability
3.1.0
3.1.0
9.2.0
bindId :String

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


# childTemplates

Availability
3.1.0
3.1.0
9.2.0
childTemplates :Array<ViewTemplate>

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


# events

Availability
3.1.0
3.1.0
9.2.0
events :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

Availability
3.1.0
3.1.0
9.2.0
properties :Dictionary

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