API Reference > imodeljs-frontend > Views > ViewManager > getElementToolTip getElementToolTip Method Beta Get the tooltip for a persistent element. Calls the backend method Element.getToolTipMessage, and replaces all instances of ${localizeTag} with localized string from IModelApp.i18n. getElementToolTip(hit: HitDetail): Promise<string | HTMLElement> Parameter Type Description hit HitDetail Returns - Promise<string | HTMLElement> Defined in core/frontend/src/ViewManager.ts Line 441 Last Updated: 11 June, 2024