pub fn Checkbox(props: CheckboxProps) -> impl IntoView
Expand description
§Required Props
- attrs: [
Vec<(&'static str, Attribute)>
] - children:
ChildrenFn
§Optional Props
- name:
impl Into<MaybeProp<String>>
- checked:
impl Into<MaybeProp<CheckedState>>
- default_checked:
impl Into<MaybeProp<CheckedState>>
- on_checked_change:
impl Into<Callback<CheckedState>>
- required:
impl Into<MaybeProp<bool>>
- disabled:
impl Into<MaybeProp<bool>>
- value:
impl Into<MaybeProp<String>>
- on_keydown:
impl Into<Callback<KeyboardEvent>>
- on_click:
impl Into<Callback<MouseEvent>>
- as_child:
impl Into<MaybeProp<bool>>
- node_ref:
NodeRef<AnyElement>