MindFusion.Charting for JavaScript Programmer's Guide
Control.element Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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