| Platform | Since |
|---|---|
| iPhone | 1.2 |
| iPad | 1.2 |
An item that represents a visual icon in the Titanium.UI.DashboardView. The Dashboard Item is created by the method Titanium.UI.createDashboardItem.
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getBadge |
Gets the value of the badge property. |
| getCanDelete |
Gets the value of the canDelete property. |
| getImage |
Gets the value of the image property. |
| getSelectedImage |
Gets the value of the selectedImage property. |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| setBadge |
Sets the value of the badge property. |
| setCanDelete |
Sets the value of the canDelete property. |
| setImage |
Sets the value of the image property. |
| setSelectedImage |
Sets the value of the selectedImage property. |
| Name | Type | Summary |
|---|---|---|
| badge | Number |
the badge value or |
| canDelete | Boolean |
a boolean to indicate if this item can be deleted when it edit mode |
| image | String |
the URL to the image |
| selectedImage | String |
the URL to the image to display when the item is depressed (clicked) |
| Name | Summary |
|---|---|
| click |
fired when a |
| delete |
fired when a |
| move |
fired when a |