-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Summary
Given a js_sys::Object
, how do you call one of its functions?
Additional Details
Specifically I get a webgl extension via https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.WebGlRenderingContext.html#method.get_extension
After extracting the inner object, I want to call its functions from Rust (e.g. https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays#Methods)
How do I do this? :)