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