p-popover component displays additional contextual content in an overlay and should be used when users need optional
details without leaving their current context. It is triggered by a button and renders its own info button by default
Hello World
button slot.Escape, or when keyboard focus leaves
the Popover.open prop together with a slotted
button (the default info button does not toggle in this mode). In this mode you own the open state: the Popover only
emits the dismiss event when the user requests to close it (via Escape, an outside click or when keyboard focus
leaves the Popover), and you decide whether to update open in response.p-popover utilizes the #top-layer which enables it to be shown correctly even when used e.g. within a scroll container.<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-popover>
<p-text>
Some additional content.
</p-text>
</p-popover>
<script>
</script>
</body>
</html>