Gets or sets the css class of this ListItem.
Namespace: MindFusion.Common.UI
File: ListItem.js
SyntaxJavaScript
Copy Code
|
|---|
get cssClass() {} |
String. The css class.
ExampleThe following example uses the cssClass property to set the styling of a ListItem according to the id of a schedule item that is also part of the application.
JavaScript
Copy Code
|
|---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); var activity = calendar.schedule.resources.items()[0]; listView.items.add(item); |
See Also