Jonas Bojesen
Jonas Bojesen
Environment MDC version 13.0.0, Ubuntu 21.10, Chrome 97. Setup according to [mdc-linear-progress](https://github.com/material-components/material-components-web/tree/master/packages/mdc-linear-progress). Then set `progress` to e.g. 0.3. Here got the primary bar centered with dots streaming both left and...
`web_sys::AngleInstancedArrays` is a JS structure in the browser, a handle is obtained with [WebGl2RenderingContext.get_extension](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.WebGl2RenderingContext.html#method.get_extension). So from `web-sys` api not instantiated as an AngleInstanceArrays struct. Similar as this construct for [WebGl2RenderingContext...
@pyrochlore Still an issue? If maybe put some minimal example in a repo.
@felipellrocha in `web-sys` version 0.3.58, [web-sys::WebglMultiDraw](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.WebglMultiDraw.html#) is availble.
The snippet above is for [js-import](https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/on-js-imports/constructor.html) (`extern "C"`), hence using a javascript class from Rust. In this case `Vector3` should be declared in javascript. Maybe export from Rust to javascript...
The errors are described as "_there will be errors and/or misdirected events at runtime_". Have done a small project with integration towards mdc webcomponents, the later is a bonanza of...
Think the last construct with `call1`, ... , `call3` could solve the design, e.g. [receiving-js-closures-in-rust](https://rustwasm.github.io/docs/wasm-bindgen/reference/receiving-js-closures-in-rust.html). The background for `call4` is given below "_Since Rust has no function overloading ..._". This...
Try to differ the two examples. In the working example Successfully cast to `web_sys::SvgElement` In the failed example the snippet contains casts to `svg_element::SvgsvgElement` and `web_sys::SvgsvgElement` What are `svg_element::SvgsvgElement` and...
Ok, great! Have you tried to minimize the example? If the `match svg.clone().dyn_into::() { ... }` statement is removed, does the cast below (`svg.dyn_into::()`) still fail?
Maybe [web-sys/Url.create_object_url_with_source](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Url.html#method.create_object_url_with_source) or `Url.create_object_url_with_blob` above in the doc.