ListItem.draw override.
Namespace: MindFusion.Common.UI
File: ToolStripItem.js
JavaScript Copy Code |
---|
function draw () |
The following code uses the draw method in a function that creates a ToolStrip programmatically:
JavaScript Copy Code |
---|
function loadChatWindow(sender) tools.items.add(new ui.ToolStripItem(ui.ToolStripItemType.Separator)); sender.element.querySelector("#toolstrip").appendChild(tools.draw()); |