The b.Radio constructor creates a radio input, together with its label container.
| Modifier | Action |
|---|
b.Disabled | Disable the radio button |
| Child | Action |
|---|
b.OnInput(...any) | Apply children to the <input> element |
b.OnLabel(...any) | Apply children to the <label> element |
string | Add to the <label> element |
gomponents.Nodeof type gomponents.AttributeType | Apply attribute to the <input> element |
gomponents.Nodeof type gomponents.ElementType | Add element to the <label> element |
e.Element | Add element to the <label> element |
| Anything else | Apply child to the <input> element |