ViewTemplate

Template that represents a view subcomponent of an ItemTemplate.

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

  • 3.1.0
  • 3.1.0
  • 3.1.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

ViewTemplate
: String
View's ID (or set of IDs) used for data binding. ...

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

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

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

ViewTemplate
events : Dictionary

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

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.

ViewTemplate
properties : Dictionary

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

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