dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Support the new Popover API natively

Open Exotik850 opened this issue 9 months ago • 0 comments

Feature Request

The new Popover API has just been released and it works in every browser, using this in dioxus would greatly improve the look and feel of a lot of apps

Implement Suggestion

Adding the necessary attributes in the GlobalAttributes to utilize the Popover API declaratively

Declaratively, via a set of new HTML attributes. A simple popover with a toggle button can be created using the following code:

<button popovertarget="mypopover">Toggle the popover</button>
<div id="mypopover" popover>Popover content</div>

Exotik850 avatar May 15 '24 02:05 Exotik850