Search
Tooltip.target Property
See Also
 






Gets a reference to the tooltip's target element.

Namespace: MindFusion.Common.UI
File: Tooltip.js

 Syntax

JavaScript  Copy Code

get target() {}

 Property Value

HTMLElement. The target element.

 Example

The following code checks if the target of a ToolTip is the HTMLElement associated with a diagram instance and then toggles the tooltip's visibility.

JavaScript  Copy Code
if(tooltip.target == diagram._element)
       tooltip.toggle();

 See Also