Tooltip.position Method
Positions the tooltip relative to a target whose size and position is given by
bounds, or to the pointer if placement is
dundas.ui.TooltipPlacement.POINTER otherwise.
Parameters
- placement
-
Type: TooltipPlacement
The desired placement of the tooltip relative to the target.
- bounds
-
Type: Object
(Optional) An object that represents the size and position of the target. Required if placement is not dundas.ui.TooltipPlacement.POINTER.
Optional: True
- e
-
Type: jQuery.Event
(Optional) Pointer event arguments. Required if placement is dundas.ui.TooltipPlacement.POINTER.
Optional: True
- pointerOffsetX
-
Type: Number
(Optional) Horizontal offset in pixels to apply to tooltip position. Required if placement is dundas.ui.TooltipPlacement.POINTER.
Optional: True
- pointerOffsetY
-
Type: Number
(Optional) Vertical offset in pixels to apply to tooltip position. Required if placement is dundas.ui.TooltipPlacement.POINTER.
Optional: True
- animateX
-
Type: Boolean
(Optional) True if the tooltip should animate to the new horizontal position from its old one if already visible.
Optional: True
- animateY
-
Type: Boolean
(Optional) True if the tooltip should animate to the new vertical position from its old one if already visible.
Optional: True