RadioGroup Module
Builders for the `RadioGroup` control — a set of mutually-exclusive options, one selected at a time.
Functions and values
| Function or value |
Description
|
|
|
|
Supply the option labels of a `RadioGroup` (`Attr.items`; one radio button per `string` in the list, in order).
|
Full Usage:
onChanged arg1
Parameters:
string -> 'msg
Returns: Attr<'msg>
Type parameters: 'msg |
Emit a `'msg` carrying the newly-chosen option `string` when a `RadioGroup` selection changes (`Attr.onChanged`).
|
|
Mark which option of a `RadioGroup` is chosen (`Attr.selected`; the `string` must match one of `items`). A controlled value reconciled via `onChanged`.
|