You are reading 13.2.0. See this page in 13.4.1.
ViewTemplate
pseudoAndroidiPhoneiPadmacOSsince 3.1.0
Template that represents a view subcomponent of an ItemTemplate.
See Titanium.UI.ListItem for examples of using an item template.
Properties 5
bindId
StringView's ID (or set of IDs) used for data binding. This value must be unique.
childTemplates
Array<ViewTemplate>Contains an array of subview templates to be added (in order) as children to this view.
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.
Contains key-value pairs of view properties and their values that are applied to this view component.
type
StringView's class name, for example, Ti.UI.Button.
Only the following view classes are supported:
- Titanium.UI.ActivityIndicator
- Titanium.UI.Button
- Titanium.UI.ButtonBar
- Titanium.UI.ImageView
- Titanium.UI.Label
- Titanium.UI.MaskedImage
- Titanium.UI.ProgressBar
- Titanium.UI.Picker
- Titanium.UI.ScrollableView
- Titanium.UI.Slider
- Titanium.UI.Switch
- Titanium.UI.TextArea
- Titanium.UI.TextField
- Titanium.UI.iOS.BlurView
- Titanium.UI.iOS.LivePhotoView
- Titanium.UI.iOS.Stepper
- Titanium.UI.iOS.TabbedBar