Gets the type of this item.
Namespace: MindFusion.Common.UI
File: ToolStripItem.js
JavaScript Copy Code |
---|
get type() {} |
One of the ToolStripItemType Enumeration values. The type of the item.
The following code adss a new ToolStripItem of type Label and adds it to a toolstrip:
JavaScript Copy Code |
---|
function loadChatWindow(sender) tools.items.add(new ui.ToolStripItem(ui.ToolStripItemType.Separator)); sender.element.querySelector("#toolstrip").appendChild(tools.draw()); |