Skip to main content

addHint()

addHint(el, content, position): HTMLDivElement

Adds a popup window with the specified [content] next to an [element]. Set [position] to control where the popup will appear. The default position is [POSITION.RIGHT].

Parameters

ParameterTypeDefault value
elHTMLElementundefined
contentHTMLElementundefined
position"left" | "top" | "bottom" | "right"POSITION.RIGHT

Returns

HTMLDivElement

Source

ui.ts:2186