dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Set Volume Imperatively

Open jkelleyrtp opened this issue 3 years ago • 2 comments

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

jkelleyrtp avatar Feb 01 '22 20:02 jkelleyrtp

I'd like a way to easily call HTMLElement.focus().

mpfaff avatar May 22 '22 20:05 mpfaff

I'd like a way to easily call HTMLElement.focus().

You can now do this with the onmounted event!

ealmloff avatar Aug 04 '23 19:08 ealmloff