DioxusLabs / DioxusLabs/dioxus

More imperative methods (like volume) on MountedData (which should just be NodeRef)

Open
#191 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.