|
4 | 4 |
|
5 | 5 | ## Properties |
6 | 6 |
|
7 | | -| Property | Attribute | Description | Type | Default | |
8 | | -| -------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------------------------------------------- | |
9 | | -| `checked` | `checked` | The checked state of the radio button. | `boolean` | `false` | |
10 | | -| `disabled` | `disabled` | The disabled state of the radio button. | `boolean` | `false` | |
11 | | -| `focused` | `focused` | The focused state of the radio button. | `boolean` | `false` | |
12 | | -| `guid` | `guid` | The id attribute of the radio button. When omitted, a globally unique identifier is used. | `string` | `this.el.id \|\|`calcite-radio-button-\${guid()}`` | |
13 | | -| `hidden` | `hidden` | The radio button's hidden status. When a radio button is hidden it is not focusable or checkable. | `boolean` | `false` | |
14 | | -| `hovered` | `hovered` | The hovered state of the radio button. | `boolean` | `false` | |
15 | | -| `name` _(required)_ | `name` | The name of the radio button. <code>name</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `string` | `undefined` | |
16 | | -| `required` | `required` | Requires that a value is selected for the radio button group before the parent form will submit. | `boolean` | `false` | |
17 | | -| `scale` | `scale` | The scale (size) of the radio button. <code>scale</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `"l" \| "m" \| "s"` | `"m"` | |
18 | | -| `theme` | `theme` | The color theme of the radio button, <code>theme</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `"dark" \| "light"` | `"light"` | |
19 | | -| `value` _(required)_ | `value` | The value of the radio button. | `string` | `undefined` | |
| 7 | +| Property | Attribute | Description | Type | Default | |
| 8 | +| -------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ----------- | |
| 9 | +| `checked` | `checked` | The checked state of the radio button. | `boolean` | `false` | |
| 10 | +| `disabled` | `disabled` | The disabled state of the radio button. | `boolean` | `false` | |
| 11 | +| `focused` | `focused` | The focused state of the radio button. | `boolean` | `false` | |
| 12 | +| `guid` | `guid` | The id attribute of the radio button. When omitted, a globally unique identifier is used. | `string` | `undefined` | |
| 13 | +| `hidden` | `hidden` | The radio button's hidden status. When a radio button is hidden it is not focusable or checkable. | `boolean` | `false` | |
| 14 | +| `hovered` | `hovered` | The hovered state of the radio button. | `boolean` | `false` | |
| 15 | +| `name` _(required)_ | `name` | The name of the radio button. <code>name</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `string` | `undefined` | |
| 16 | +| `required` | `required` | Requires that a value is selected for the radio button group before the parent form will submit. | `boolean` | `false` | |
| 17 | +| `scale` | `scale` | The scale (size) of the radio button. <code>scale</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `"l" \| "m" \| "s"` | `"m"` | |
| 18 | +| `theme` | `theme` | The color theme of the radio button, <code>theme</code> is passed as a property automatically from <code>calcite-radio-button-group</code>. | `"dark" \| "light"` | `"light"` | |
| 19 | +| `value` _(required)_ | `value` | The value of the radio button. | `string` | `undefined` | |
20 | 20 |
|
21 | 21 | ## Events |
22 | 22 |
|
|
0 commit comments