stdweb icon indicating copy to clipboard operation
stdweb copied to clipboard

A standard library for the client-side Web

Results 107 stdweb issues
Sort by recently updated
recently updated
newest added

I have some performance issues of stdweb (wasm32-unknown-unknown) while i am working on my webgl project. I found that the overhead of the js! macro about 3 times compare of...

I've recently been interested in using some libraries, mainly [typetag](https://github.com/dtolnay/typetag), which depend on [rust-ctor](https://github.com/mmastrac/rust-ctor) to function. rust-ctor uses link sections on Windows, Mac and Linux to allow functions to run...

The HTML drag-and-drop API specifies the class `DragEvent`, and several subclasses thereof. Presently, Webkit does not implement any of these classes or define any of their constructors; their names are...

1. [DOMPoint]( https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint) and [DOMPointReadonly]( https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly) can be 2D, 3D or 3D with perspective (4 values). How do I map them to Rust? Do I use Options, for the optional...

I'v created the following stub `geometry.rs` ``` use webcore::value::Reference; use webapi::svg_element::ISVGElement; use webapi::event_target::{IEventTarget, EventTarget}; use webapi::node::{INode, Node}; use webapi::element::{IElement, Element}; use webapi::svg_element::SVGElement; use super::super::types::animated_length::AnimatedLength; use super::graphics::ISVGGraphicsElement; use super::graphics::SVGGraphicsElement; pub trait...

Environment: Ubuntu 17.10, cargo 1.33.0-nightly (2cf1f5dda 2018-12-11), cargo-web 0.6.23, stdweb 0.4.12 Errors: Installing /home/dude/.cargo/bin/cargo-web warning: `default-features = [".."]` was found in [features]. Did you mean to use `default = [".."]`?...

Hi, Is there any planned support for TouchEvents? In particular: finger-down finger-drags across screen finger-up Thanks!

[I had created an RFC](https://github.com/rustwasm/rfcs/pull/3) for adding in traits to wasm-bindgen (similar to what stdweb is doing), however [it has been superseded by an RFC which uses `Deref` instead](https://github.com/rustwasm/rfcs/pull/5). It...

```rust #[macro_use] extern crate stdweb; use stdweb::web::window; use stdweb::web::event::KeyDownEvent; use stdweb::web::IEventTarget; use stdweb::traits::IKeyboardEvent; use stdweb::web::document; use stdweb::web::INode; const motd: &'static str = "root@localhost ~$ "; fn main() { stdweb::initialize(); let...

[WIP] Initial impl of `CustomElementRegistry` I do have a few questions before completing this: 1. How exactly do I represent a Constructor here? (https://github.com/koute/stdweb/pull/299/commits/51e683cf749127918bfaa44bfd9426af3125a53e#diff-55e0c9ca42d6126fc52bcae5a9a2bf95R38) 1. Is it okay to unwrap,...