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