CheckBox Module
Builders for the `CheckBox` control — a labelled boolean toggle with a tick box.
Functions and values
| Function or value |
Description
|
|
Set the checked state of a `CheckBox` (`Attr.checked'`; `true` ticks the box). This is a controlled value — drive it from model state and reconcile via `onChanged`.
|
|
|
Full Usage:
onChanged arg1
Parameters:
bool -> 'msg
Returns: Attr<'msg>
Type parameters: 'msg |
Emit a `'msg` carrying the new `bool` when a `CheckBox` is toggled (`Attr.onChanged`).
|
Set the label beside a `CheckBox` (`Attr` carrying the descriptive caption text).
|