Clone in a terminal:
prelude.rs
src/ - Template
pub use crate::{ CallbackRegistration, Component, ComponentHandle, Error, InitComponentFn, InitFn, Result, SharedComponent, UpdateComponentFn, add_css_class, get_callback, get_cookie_value, get_element, get_element_by_id, get_elements, get_value, init_callbacks, inner_html, inner_text, remove_css_class, try_get_value, try_inner_html, try_inner_text, }; pub use gloo::console::error; pub use gloo::console::log; pub use serde_wasm_bindgen; pub use std::cell::RefCell; pub use std::collections::HashMap; pub use std::rc::Rc; pub use std::sync::{MutexGuard, RwLock}; pub use wasm_bindgen::JsCast; pub use wasm_bindgen::JsValue; pub use wasm_bindgen::prelude::wasm_bindgen; pub use wasm_bindgen_futures; pub use kaja_callback_macro::callback; pub use kaja_html_macro::html; pub use kaja_web_component::component; pub use js_sys::Function; pub use web_sys::HtmlElement;

File history (30 commits)

c9e8f6d Johan Mattsson - johan.mattsson.m@gmail.com
Template
Template
8a643c4 Johan Mattsson - johan.mattsson.m@gmail.com
More cleanup
More cleanup
16db169 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup
Cleanup
ae58226 Johan Mattsson - johan.mattsson.m@gmail.com
Update example
Update example
4b41cda Johan Mattsson - johan.mattsson.m@gmail.com
Attribute tests
Attribute tests
6136236 Johan Mattsson - johan.mattsson.m@gmail.com
Tests and examples
Tests and examples
321ec6b Johan Mattsson - johan.mattsson.m@gmail.com
Remove threads with shared memory
Remove threads with shared memory
9c53342 Johan Mattsson - johan.mattsson.m@gmail.com
Web worker test
Web worker test
45ddf9d Johan Mattsson - johan.mattsson.m@gmail.com
ArcSwap instead of lock
ArcSwap instead of lock
2759560 Johan Mattsson - johan.mattsson.m@gmail.com
Multiple wasm threads
Multiple wasm threads
cfe5d0c Johan Mattsson - johan.mattsson.m@gmail.com
Update component code
Update component code
8def408 Johan Mattsson - johan.mattsson.m@gmail.com
New example component
New example component
06a68b2 Johan Mattsson - johan.mattsson.m@gmail.com
Try multi thread component ideas
Try multi thread component ideas
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
e6c152a Johan Mattsson - johan.mattsson.m@gmail.com
Rerender
Rerender
d9014e7 Johan Mattsson - johan.mattsson.m@gmail.com
Get and set macro for component
Get and set macro for component
0cd2174 Johan Mattsson - johan.mattsson.m@gmail.com
Update function for components referenced by id
Update function for components referenced by id
674bd7b Johan Mattsson - johan.mattsson.m@gmail.com
Full example using web components
Full example using web components

Click counter example.
dd9e29d Johan Mattsson - johan.mattsson.m@gmail.com
Get component from static storage
Get component from static storage
4693249 Johan Mattsson - johan.mattsson.m@gmail.com
Update component id
Update component id
3521197 Johan Mattsson - johan.mattsson.m@gmail.com
Macro update
Macro update
210d23a Johan Mattsson - johan.mattsson.m@gmail.com
Update init
Update init
eff2a45 Johan Mattsson - johan.mattsson.m@gmail.com
Component update
Component update
3c1e5fa Johan Mattsson - johan.mattsson.m@gmail.com
Fix prelude
Fix prelude
023e4be Johan Mattsson - johan.mattsson.m@gmail.com
Add a function for getting a referense to a callback function
Add a function for getting a referense to a callback function
0e3de65 Johan Mattsson - johan.mattsson.m@gmail.com
Update README.md
Update README.md
234866d Johan Mattsson - johan.mattsson.m@gmail.com
Make async functions work as callbacks
Make async functions work as callbacks
3f8adb6 Johan Mattsson - johan.mattsson.m@gmail.com
Cleanup and documentation
Cleanup and documentation
72f0126 Johan Mattsson - johan.mattsson.m@gmail.com
Prelude for imports
Prelude for imports

Contact

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