Skip to main content

Module check

Module check 

Source
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§

CheckGroupProps
Properties for the CheckGroup component.
CheckboxProps
Properties for the Checkbox component.
RadioChoice
The radios in a CheckGroup share one name and one selected value.
RadioProps
Properties for the Radio component.
RadioScopeProps
Properties for the RadioScope component.
SwitchProps
Properties for the Switch component.
SwitchRowProps
Properties for the SwitchRow component.

Enums§

CheckState
A checkbox’s value, including the mixed state of a parent over partly checked children.
ControlName
How a standalone control gets its accessible name.
SwitchSize
Switch sizes.

Functions§

CheckGroup
A fieldset with a legend, holding checkboxes or, with radios, a radio group.
Checkbox
A labelled native checkbox.
Radio
One choice in a CheckGroup given radios.
RadioScope
Shares radio state with the Radios and Choices 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>.
SwitchRow
A settings row: a label and hint on one side, a switch on the other, all one target.