mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
1e4832a6d0
* demo: refactor docs * demo: refactor docs * demo: refactor docs * demo: refactor docs
519 B
519 B
Switch
let value = create_rw_signal(false);
view! {
<Switch value />
}
Switch Props
Name | Type | Default | Description |
---|---|---|---|
class | MaybeSignal<String> |
Default::default() |
Addtional classes for the switch element. |
value | RwSignal<bool> |
Default::default() |
Switch's value. |