Search
ListItem.element Property
See Also
 






Gets a reference to the item's DOM element.

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

 Syntax

JavaScript  Copy Code

get element() {}

 Property Value

The HTMLElement associated with this ListItem.

 Example

The following code uses the element of a ListItem to change its background:

JavaScript  Copy Code
listItem.element.style.background = "pink";

 See Also