Gets or sets the visibility of this ListItem.
Namespace: MindFusion.Common.UI
File: ListItem.js
JavaScript Copy Code |
---|
get visible() {} |
Boolean. true if the item is visible, otherwise false.
The following example creates a new ListItem, makes it invisible 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(); listView.items.add(item); |