dioxus
dioxus copied to clipboard
Support the new Popover API natively
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>