@theredhead — Frontend Library - v1.0.0
Preparing search index...
ui-kit/src/public-api
PopoverHorizontalAlignment
Type Alias PopoverHorizontalAlignment
PopoverHorizontalAlignment
:
"auto"
|
"start"
|
"center"
|
"end"
Horizontal alignment of the popover relative to its anchor element.
'auto'
— prefers
'center'
; falls back to
'end'
or
'start'
if centering would clip the viewport
'start'
— popover sits to the left of the anchor (right edge → anchor left edge)
'center'
— popover is horizontally centred on the anchor
'end'
— popover sits to the right of the anchor (left edge → anchor right edge)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@theredhead — Frontend Library - v1.0.0
Loading...
Horizontal alignment of the popover relative to its anchor element.
'auto'— prefers'center'; falls back to'end'or'start'if centering would clip the viewport'start'— popover sits to the left of the anchor (right edge → anchor left edge)'center'— popover is horizontally centred on the anchor'end'— popover sits to the right of the anchor (left edge → anchor right edge)