Any bindings for this?
Both these web APIs have Rust bindings in the web-sys crate, although they are currently unstable and require activation via command-line flags.
Example of how to use web-sys:
Search for method and class names from the MDN docs here, and you'll find the corresponding Rust bindings, e.g.:
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.