Gets or sets a value indicating whether the ToolTip will follow the mouse cursor.
Namespace: MindFusion.Common.UI
File: Tooltip.js
SyntaxJavaScript
Copy Code
|
|---|
get follow() {} |
Boolean. true if the tooltip will follow the cursor, otherwise false.
ExampleThe 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