Search
ListItem.tooltip Property
See Also
 






Gets or sets the tooltip of this ListItem.

Namespace: MindFusion.Common.UI
File: ListItem.js

 Syntax

JavaScript  Copy Code

get tooltip() {}

 Property Value

String. The tooltip.

 Example

The following example creates a new ListItem with tooltip and adds it to the items collection of a ListView control.

JavaScript  Copy Code

listView = new ui.ListView(document.getElementById("listView"));
listView.width = listView.height = ui.Unit.percentage(100);

var item = new ui.ListItem();
item.title = "Armillaria Ponderosa";
item.tooltip = "Spanish Teacher";

listView.items.add(item);

 See Also