Initializes a new instance of the ListItem class.
Namespace: MindFusion.Common.UI
File: ListItem.js
SyntaxJavaScript
Copy Code
|
|---|
function ListItem ([title]) |
String. The display text of this item.
ExampleThe 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(); |
See Also