openToolTip Method

Open the toolTip window in this ScreenViewport with the supplied message and location. The tooltip will be a child of ScreenViewport.toolTipDiv.

openToolTip(message: HTMLElement | string, location?: XAndY, options?: ToolTipOptions): void

note There is only one ToolTip window, so calling this method more than once will move the toolTip and show the second message.

Parameter Type Description
message HTMLElement | string The message to display
location XAndY The position of the toolTip, in view coordinates. If undefined, use center of view.
options ToolTipOptions the ToolTip options

Defined in

Last Updated: 08 January, 2020