# ItemTemplate

> Template that represents the basic appearance of a list item.

- Source: https://titaniumsdk.com/docs/sdk/12.7.1/ItemTemplate
- Titanium SDK version: 12.7.1
- Kind: pseudo
- Platforms: Android, iPhone, iPad, macOS
- Since: Titanium SDK 3.1.0

See [Titanium.UI.ListItem](https://titaniumsdk.com/docs/sdk/Titanium.UI.ListItem.md) for examples of using an item template.

## Properties

### childTemplates

- Type: Array<ViewTemplate>
- Platforms: Android, iPhone, iPad, macOS

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

### events

- Type: Dictionary
- Platforms: Android, iPhone, iPad, macOS

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

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

Event listeners added here respond to bubbled events fired from the view subcomponents.

### properties

- Type: Dictionary<Titanium.UI.ListItem>
- Platforms: Android, iPhone, iPad, macOS

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

If there are properties set in the [ListDataItem](https://titaniumsdk.com/docs/sdk/ListDataItem.md), the properties set in the template are
overridden by the ones set in the list data item.

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

