Search
Tooltip.follow Property
See Also
 






Gets or sets a value indicating whether the ToolTip will follow the mouse cursor.

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

 Syntax

JavaScript  Copy Code

get follow() {}

 Property Value

Boolean. true if the tooltip will follow the cursor, otherwise false.

 Example

The following code creates a new instance of the ToolTip class associated with the HTMLElement of a diagram. It sets its follow property to false.

JavaScript  Copy Code
var tooltip = new ui.Tooltip(diagram._element);
tooltip.trigger = ui.TooltipTrigger.None;
tooltip.follow = false;
tooltip.theme = "standard";

 See Also