The p-popover component can also be used with a slotted button via the button slot, allowing you to provide a
custom button element.
More informationSome additional content.
prev
next
Open in Stackblitz
<!doctype html>
<htmllang="en"class="auto"><head><title></title></head><bodyclass="bg-base"><p-popover><p-button-purehide-label="true"icon="car"slot="button"> More information
</p-button-pure> Some additional content.
</p-popover><script></script></body></html>