Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the new Popover API natively #2413

Open
Exotik850 opened this issue May 15, 2024 · 0 comments
Open

Support the new Popover API natively #2413

Exotik850 opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers html Related to the html crate

Comments

@Exotik850
Copy link
Contributor

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>
@ealmloff ealmloff added enhancement New feature or request html Related to the html crate good first issue Good for newcomers labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers html Related to the html crate
Projects
None yet
Development

No branches or pull requests

2 participants