Gets a reference to the item's content element.
Namespace: MindFusion.Common.UI
File: ListItem.js
JavaScript Copy Code |
---|
get contentElement() {} |
An HTMLElement.
The following example uses the contentElement property of a ListItem to set its opacity to 0.
JavaScript Copy Code |
---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); listView.items.add(item); |