Clone in a terminal:
use kaja_web::prelude::*; mod counter; mod main_component; #[wasm_bindgen(start)] pub fn init() { std::panic::set_hook(Box::new(console_error_panic_hook::hook)); console_error_panic_hook::set_once(); init_callbacks(); }

File history (7 commits)

ae58226 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
cfe5d0c Johan Mattsson - johan.mattsson.m@gmail.com
Update component code
Update component code
5b0444b Johan Mattsson - johan.mattsson.m@gmail.com
Revert "Add and remove css classes"
Revert "Add and remove css classes"

This reverts commit 2226f52c8addbbf364bf019ff2dfbef8133c4a25.
2226f52 Johan Mattsson - johan.mattsson.m@gmail.com
Add and remove css classes
Add and remove css classes
8d68365 Johan Mattsson - johan.mattsson.m@gmail.com
Fix warning messages
Fix warning messages
6b30cee Johan Mattsson - johan.mattsson.m@gmail.com
Callback updated
Callback updated
674bd7b Johan Mattsson - johan.mattsson.m@gmail.com
Full example using web components
Full example using web components

Click counter example.

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112