RadioButton
<radio-button-box name="k" values="3"> -- Wolfram's RadioButtonBox: one radio button, on when the variable holds its entry. A row of them is a <radio-button-bar-box>; this is a bar of one.
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
name | string | "" | The binding this control drives: name="a" fills the wildcard _a.reflects |
values | string | "" | The entries, |-separated, each optionally value -> label. |
value | string | "" | The entry (or, for a multiple selection, the |-separated entries) selected at first. |
As a web component
Plain custom elements, no framework required: import @enumeratio/frontend for the side effect and write <radio-button-box> in any HTML. Attributes are kebab-case and always strings; the props table above names each one's attribute where it differs from its prop.