Gets a reference to the control's element.
Namespace: MindFusion.Common
File: Control.js
JavaScript Copy Code |
---|
get element() {} |
Type: HTMLElement
HTMLElement
The following code uses the element of a TreeView to create a ToolTip instance for the tree view.
JavaScript Copy Code |
---|
tip = new ui.Tooltip(treeView.element, text); tip.position = ui.TooltipPosition.Left; tip.theme = theme; tip.render(); |