Gets or sets the URL of the image displayed by this item.
Namespace: MindFusion.Common.UI
File: ListItem.js
JavaScript Copy Code |
---|
get imageSrc() {} |
String. The image URL.
The following example creates a new ListItem and adds it to the items collection of a ListView control. It sets the URL of the image used for this ListItem.
JavaScript Copy Code |
---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); listView.items.add(item); |