stdweb
stdweb copied to clipboard
A standard library for the client-side Web
I know I can create image data by doing: ```rust let image_data = context.create_image_data(width, height)?; ``` And applying it on the context with: ```rust context.put_image_data(image_data, 0.0, 0.0)?; ``` But how...
Bumps [safer-eval](https://github.com/commenthol/safer-eval) from 1.2.3 to 1.3.5. Commits - [`6d5ed4b`](https://github.com/commenthol/safer-eval/commit/6d5ed4b90d676a10776b818dee84014dcd41e632) 1.3.5 - [`fbbc623`](https://github.com/commenthol/safer-eval/commit/fbbc623b7a6f6b9176dfed3f1c3d12ccc848f7b8) Merge pull request [#7](https://github-redirect.dependabot.com/commenthol/safer-eval/issues/7) from commenthol/strict-mode-recommendation - [`1a87237`](https://github.com/commenthol/safer-eval/commit/1a8723704b30ac43c3c300223c6132e27b48fc21) fix: use strict mode recommendation - [`b81dab9`](https://github.com/commenthol/safer-eval/commit/b81dab9c7ef88345e5e9a4490426ac171a489add) 1.3.4 - [`073267a`](https://github.com/commenthol/safer-eval/commit/073267ac30e67d3e5c1762c5d0373444ead61660)...
Please add `History::state()` accessor to get the current state: https://developer.mozilla.org/en-US/docs/Web/API/History/state
Is there any way to mutate the window location?
SVG has matrices. It also has a function for inverting a matrix. For the unit matrix U `U==inverse(U)` should hold. However it does not. I speculate, that this is because...
`UnsafeTypedArray` takes `&[T]` in the constructor, and stores that internally. It's nice for reading values efficiently, but as I understand it rustc will assume that values behind a reference are...
Just want to say I love what `stdweb` and `wasm_bindgen` are doing, and noticed the relatively recent efforts to collaborate. In light of that effort, I wanted to report this...
[ ] - (breaking change) Switch to upstream `TryInto`/`TryFrom`. (This will require removing some blanket impl (e.g. for `TryFrom< Value > for Option< T >`) and some concrete impls (e.g....
Hello! Any example of use window().request_animation_frame with **specific** fps (timestap) [`documentation`](https://docs.rs/stdweb/0.4.0/stdweb/web/struct.Window.html) Thanks!
The js macro will accept an expression like `+ +x` as an increment of `x`