Skip to content

Popover

Overlay

A generic anchored floating panel for displaying rich content. Built on CDK Overlay with automatic flip when space is limited.

atlas-popover

Examples

Basic

Project a trigger element and any content; the panel is anchored to the trigger.

Sides and alignment

side picks the edge of the trigger and align the position along it ( start , center , end ). The panel flips when there is no room.

Opened and closed events

(opened) and (closed) report the panel state, here to load data the first time it opens. ariaLabel names the panel, which is a non-modal dialog.

Loaded 0 time(s), closed 0 time(s).

API

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

AtlasPopoverComponent atlas-popover

InputTypeDefaultDescription
side PopoverSide'bottom' Preferred side for the popover to appear
align PopoverAlign'center' Alignment along the chosen side
ariaLabel string | undefinedundefined Accessible name of the popover panel ( role="dialog" )
class string'' Additional CSS classes for the popover panel
OutputPayloadDescription
openedvoid Emitted when the popover opens
closedvoid Emitted when the popover closes

Types

PopoverAlign

type PopoverAlign = 'start' | 'center' | 'end'

PopoverSide

type PopoverSide = 'top' | 'bottom' | 'left' | 'right'