p-popover component can be used to display some additional content on top of surrounding content, triggered by a
button. By default it renders its own info button 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>