2 Popover
Byron edited this page 2026-10-02 23:42:56 +02:00

Note

This component uses the built-in Popover API.

Basic

<CleanButton popovertarget="popover" popovertargetaction="toggle">
	Default
</CleanButton>
<CleanButton popovertarget="popover-right" popovertargetaction="toggle">
	Right
</CleanButton>
<CleanButton popovertarget="popover-bottom" popovertargetaction="toggle">
	Bottom
</CleanButton>
<CleanButton popovertarget="popover-left" popovertargetaction="toggle">
	Left
</CleanButton>

<CleanPopover id="popover">
	This popover is aligned to the top.
</CleanPopover>
<CleanPopover id="popover-right" Position="@(CleanPopoverPosition.Right)">
	This popover is aligned to the right.
</CleanPopover>
<CleanPopover id="popover-bottom" Position="@(CleanPopoverPosition.Bottom)">
	This popover is aligned to the bottom.
</CleanPopover>
<CleanPopover id="popover-left" Position="@(CleanPopoverPosition.Left)">
	This popover is aligned to the left.
</CleanPopover>