Draws the item.
Namespace: MindFusion.Common.UI
File: ListItem.js
SyntaxJavaScript
Copy Code
|
|---|
function draw () |
HTMLElement. The item DOM element.
ExampleThe following code uses the draw method to get the HTML element that corresponds to the ListItem and changes its background.
JavaScript
Copy Code
|
|---|
var ui = MindFusion.Common.UI; var listItem = new ui.ListItem(); |
See Also