zoechi
When I want to pass properties to the root component, how do I create an instance the props?Props::builder().build()
does not work because there does not seem to be a build()
method.::builder()
has to offer.
jstarry
FYI there's now a new matrix server which is connected to the Yew #development Discord channel here: https://matrix.to/#/!HvNEDXvXsveDVzOUNK:privacytools.io?via=privacytools.io&via=t2bot.io
jstarry
Thanks chrysn !
Andreas Weinzierl
> <@jstarry:matrix.org> FYI there's now a new matrix server which is connected to the Yew #development Discord channel here: https://matrix.to/#/!HvNEDXvXsveDVzOUNK:privacytools.io?via=privacytools.io&via=t2bot.io
Nice
chrysn
If you see little traffic here that's probably because the project has abandoned gitter as a means of communication. They now run a discord "server", which is also bridged to matrix. Matrix bridge is at https://matrix.to/#/+yew:privacytools.io, discord is linked from the project page.
let memory = Map::new();
memory.set(&JsValue::from("asdf"), &JsValue::NULL);
console::log_1(&stringify(&memory).unwrap());
{}
Hi, is it possible for a Javascript function to do something like document.getElementById('ui-overlay').addEventListener('click'....
where the ui-overlay
element is created by yew? I am getting null
back when calling getElementById
...
Yew generates a full DOM right? So this should work?