Skip to content

Tooltip

Overlay

Displays informational text on hover/focus of an element.

[atlasTooltip]

Examples

Positions

atlasTooltip shows on hover and keyboard focus; tooltipPosition picks the side.

Icon buttons

An icon-only button is named by its aria-label ; the tooltip shows the same text for sighted mouse and keyboard users and is linked as its description.

API

Generated from the library source, so it always matches the code.

AtlasTooltipDirective [atlasTooltip]

InputTypeDefaultDescription
atlasTooltip requiredstring— Text of the tooltip, shown on hover and keyboard focus and linked to the host with aria-describedby .
tooltipPosition TooltipPosition'top' Preferred side; the tooltip flips to the opposite side when there is no room.