@microsoft/fast-foundation > Radio
Radio class
A Radio Custom HTML Element. Implements the ARIA radio.
checked-indicator - The checked indicator
- The default slot for the label
control - The element representing the visual radio control
label - The label
change - Emits a custom change event when the checked state changes
Signature:export declare class Radio extends FormAssociatedRadio implements RadioControl
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)() | Constructs a new instance of the Radio class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| name | string | The name of the radio. See name attribute for more info. | |
| readOnly | boolean | When true, the control will be immutable by user interaction. See readonly HTML attribute for more information. |