Gets a reference to the control's element.
Namespace: MindFusion.Common
File: Control.js
SyntaxJavaScript
Copy Code
|
|---|
get element() {} |
Type: HTMLElement
HTMLElement
ExampleThe 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(); |
See Also