Expand description
Checkboxes, radios, switches, and their groups, from check.css.
Re-exports§
pub use Checkbox_completions::Component::Checkbox;pub use CheckGroup_completions::Component::CheckGroup;pub use RadioScope_completions::Component::RadioScope;pub use Radio_completions::Component::Radio;pub use Switch_completions::Component::Switch;pub use SwitchRow_completions::Component::SwitchRow;
Structs§
- Check
Group Props - Properties for the
CheckGroupcomponent. - Checkbox
Props - Properties for the
Checkboxcomponent. - Radio
Choice - The radios in a
CheckGroupshare one name and one selected value. - Radio
Props - Properties for the
Radiocomponent. - Radio
Scope Props - Properties for the
RadioScopecomponent. - Switch
Props - Properties for the
Switchcomponent. - Switch
RowProps - Properties for the
SwitchRowcomponent.
Enums§
- Check
State - A checkbox’s value, including the mixed state of a parent over partly checked children.
- Control
Name - How a standalone control gets its accessible name.
- Switch
Size - Switch sizes.
Functions§
- Check
Group - A fieldset with a legend, holding checkboxes or, with
radios, a radio group. - Checkbox
- A labelled native checkbox.
- Radio
- One choice in a
CheckGroupgivenradios. - Radio
Scope - Shares radio state with the
Radios andChoices inside, without drawing a group, for layouts that bring their own fieldset. - Switch
- An on/off control that takes effect immediately, as
<input type=checkbox role=switch>. - Switch
Row - A settings row: a label and hint on one side, a switch on the other, all one target.