Class that manages state and provides actions for popovers.
visible
Whether the popover is currently visible.
position
Position of the popover relative to its trigger.
type Position
align
Alignment along the position edge.
type Alignment
offset
Distance from the position.
disable_outside_click
Whether to disable closing when clicking outside.
popover_class
Custom class for the popover.
constructor
type new (params?: PopoverParameters | undefined): Popover
params?
PopoverParameters | undefinedupdate
Updates the popover configuration.
type (params: PopoverParameters): void
params
voidshow
Shows the popover.
type (): void
voidhide
Hides the popover.
type (): void
voidtoggle
Toggles the popover visibility.
type (visible?: boolean): void
visible
boolean!this.visiblevoidcontainer
Attachment for the container element.
type Attachment<HTMLElement>
trigger
Attachment factory for the trigger element that shows/hides the popover.
content
Attachment factory for the popover content element.