Use for positioning floating content relative to a trigger element.
alignAligns the popover to the left or right side of the control element.
animatedControls whether the popover is animated when opening/closing. Default is true (animated). Set to false to disable animations. Animation is also disabled if the user has enabled prefers-reduced-motion.
blockIndicates the popover will match the width of its parent element.
controlElementcontrol-elementThe element that controls the popover's behavior.
directionForce the direction of the popover when it opens. If no value is passed, the component will auto-detect the direction based on available space.
maxHeightmax-heightForce the maximum height of the popover. This value will be interpreted as pixels. If no value is passed, or the value exceeds available space, the component will auto-detect the maximum height based on available space.
openControls whether the popover is open or closed.
The q2-popover element exposes events that can be used to send and receive data from the component based on user interaction.
Emitted when the popover is opened or closed.
{ open: boolean; }The q2-popover element exposes methods that can be used to perform various actions on the component.
scrollContainerTo(options: ScrollToOptions) => Promise<void>toggle() => Promise<void>This component uses other components in the Tecton library, including:
Other components in the Tecton library use this component, including:
q2-calendarq2-dropdownq2-pillq2-selectq2-tagThe following CSS variables are available to override the default theme styles of the q2-popover component.