Initializes a new instance of the ListItem class.
Namespace: MindFusion.Common.UI
File: ListItem.js
JavaScript Copy Code |
---|
function ListItem ([title]) |
String. The display text of this item.
The following example creates a new ListItem and adds it to the items collection of a ListView control.
JavaScript Copy Code |
---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); |