yew
yew copied to clipboard
Rust / Wasm framework for creating reliable and efficient web applications
#### Description This change will allow the user to pass primitive values that are normally converted easily with `.into()` in Rust. Example: ``` pub struct Props { value: u16, }...
#### Description Partially implements features from discussion #3477. This PR adds Dynamic Prop Labels, so that anyone can write their favorite attributes like [HTMX's `hx-on:click`](https://htmx.org/attributes/hx-on/): ```rust html! { { "Click"...
#### Description The NodeRef example has a link in README which does not exist. Changed it to the actual path. #### Checklist - [ x] I have reviewed my own...
#### Description What does this PR do? 1. Use more cheap-to-clone types in the examples 2. Some examples got impacted by #3453 (the removal of ToHtml), I fixed them so...
#### Description This change makes `UseFutureHandle` implement `Clone`. All other `UseXHandle` structs have a cheap clone that calls `Rc::clone` internally, so I think `UseFutureHandle` should also have this functionality. ####...
**Problem** `onwheel` handler panics at installation when used together with certain `onpointermove` callbacks on mobile after a certain amount of pointermove events. Also reproducible if `ontouchmove` is used instead of...
**Problem** Bootstrap Scrollspy don't works with yew but inside a raw index.html. The links and design works but on scrolling the current section will not be selected. Inside a raw...
#### Description FIx example code #### Checklist - [x] I have reviewed my own code - [x] I have added tests
#### Description update the gloo-net version on the Cargo.toml example to the latest one.
It is possible to set the value of an element using ``. This seems to be of the type `Cow`, which makes dealing with it a bit cumbersome. On the...