MindFusion.Charting for JavaScript Programmer's Guide
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

Type: HTMLElement
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

Control Members
Control Class
MindFusion.Common Namespace