Search
Control.element Property
See Also
 






Gets a reference to the control's element.

Namespace: MindFusion.Common
File: Control.js

 Syntax

JavaScript  Copy Code

get element() {}

 Property Value

HTMLElement

 Example

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();

 See Also