Skip to main content

addHint()

addHint(el, content, position?): HTMLDivElement

Defined in: ui.ts:2409

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