Popover
Overlayatlas-popoverExamples
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
| Input | Type | Default | Description |
|---|---|---|---|
| side | PopoverSide | 'bottom' | |
| align | PopoverAlign | 'center' | |
| ariaLabel | string | undefined | undefined | role="dialog" ) |
| class | string | '' |
| Output | Payload | Description |
|---|---|---|
| opened | void | |
| closed | void |
Types
PopoverAlign
type PopoverAlign = 'start' | 'center' | 'end'PopoverSide
type PopoverSide = 'top' | 'bottom' | 'left' | 'right'