Skip to main content
Version: 1.x

@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

ConstructorModifiersDescription
(constructor)()Constructs a new instance of the Radio class

Properties

PropertyModifiersTypeDescription
namestringThe name of the radio. See name attribute for more info.
readOnlybooleanWhen true, the control will be immutable by user interaction. See readonly HTML attribute for more information.