dioxus
dioxus copied to clipboard
Set Volume Imperatively
Specific Demand
There's a handful of DOM properties that can only be managed imperatively. Things like the document title and the volume setting on audio elements can only be controlled imperatively, meaning you can't modify these elements in a Desktop app.
Certain things like WebGL don't make sense to provide a bespoke API over (well, maybe something like react-three-fiber), but very simple/basic things like audio tags should be easy to control declaratively.
Implement Suggestion
Audio Tags
- [ ] Volume
Video Tags
- [ ] Volume
cc @autarch for ideas on more DOM APIs
I'd like a way to easily call HTMLElement.focus().
I'd like a way to easily call
HTMLElement.focus().
You can now do this with the onmounted event!