stdweb
stdweb copied to clipboard
A standard library for the client-side Web
Hello! I'm trying out stdweb with emscripten (1.39.10) and running into an issue when calling `stdweb::initialize()`: ``` exception thrown: RuntimeError: abort(unexpected char in asm const signature 101) at Error at...
I've been working on setting up [bi-directional communication between an app's Webview and Yew (stdweb-based) layers](https://github.com/Boscop/web-view/issues/135). Getting messages from Webview back into Yew was particularly challenging. With help from the...
Resolves #399
**MDN docs:** [`clientWidth`](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth), [`clientHeight`](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight) These properties are useful for getting the actual width and height of an element as it is displayed on the webpage, and it is the [recommended...
```rust let mut resp = String::new(); let xhr = XmlHttpRequest::new(); xhr.open("GET", &api_url)?; xhr.send()?; xhr.add_event_listener(|e: ReadyStateChangeEvent| { let target: XmlHttpRequest = e.target().unwrap().try_into().unwrap(); if target.ready_state() == XhrReadyState::Done { //resp = xhr.response_text().unwrap().unwrap(); resp...
Closes [#395 ](https://github.com/koute/stdweb/issues/395)
Related yew [issue](https://github.com/yewstack/yew/issues/750) I'm trying to add `type` attribute to button element, but it is looks like [there](https://github.com/koute/stdweb/blob/master/src/webapi/html_elements/mod.rs) is no ButtonElement. What do you think about adding ButtonElement ? I'm...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.1 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator 910e62b Mark version 5.7.3 3442a80 Make generate-identifier-regex capable of rewriting...