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
Parameter | Type | Default value |
---|---|---|
el | HTMLElement | undefined |
content | HTMLElement | undefined |
position | "left" | "top" | "bottom" | "right" | POSITION.RIGHT |
Returns
HTMLDivElement