Titanium.UI.DashboardItem

Object of Titanium.UI.
Platform Since
iPhone 1.2
iPad 1.2

Summary

An item that represents a visual icon in the Titanium.UI.DashboardView. The Dashboard Item is created by the method Titanium.UI.createDashboardItem.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

fireEvent

Fires a synthesized event to any registered listeners.

removeEventListener

Removes the specified callback as an event listener for the named event.

Properties

Name Type Summary
badge Number

the badge value or 0 to remove the badge

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)

Events

Name Summary
click

fired when a Titanium.UI.DashboardItem is clicked

delete

fired when a Titanium.UI.DashboardItem is deleted during editings

move

fired when a Titanium.UI.DashboardItem is moved during editing