Search
Tooltip.position Property
See Also
 






Gets or sets the position of the Tooltip.

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

 Syntax

JavaScript  Copy Code

get position() {}

 Property Value

TooltipPosition. The position.

 Example

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

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

 See Also