openToolTip Method
Open the toolTip window in this ScreenViewport with the supplied message and location. The tooltip will be a child of toolTipDiv.
openToolTip(message: string | HTMLElement, location?: Readonly<WritableXAndY>, 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 |
---|---|---|
string | HTMLElement | The message to display | |
location | Readonly<WritableXAndY> | The position of the toolTip, in view coordinates. If undefined, use center of view. |
options | ToolTipOptions | the ToolTip options |
Returns - void
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.