@microsoft/fast-foundation > RadioGroup

RadioGroup class

An Radio Group Custom HTML Element. Implements the ARIA radiogroup.

label - The slot for the label

  • The default slot for radio buttons

positioning-region - The positioning region for laying out the radios

change - Fires a custom 'change' event when the value changes

Signature:

export declare class RadioGroup extends FoundationElement 

Properties

Property Modifiers Type Description
childItems HTMLElement[]
disabled boolean Disables the radio group and child radios.
name string The name of the radio group. Setting this value will set the name value for all child radio elements.
orientation Orientation | "horizontal" | "vertical" The orientation of the group
readOnly boolean When true, the child radios will be immutable by user interaction. See readonly HTML attribute for more information.
value string The value of the checked radio

Methods

Method Modifiers Description
disconnectedCallback()
nameChanged()
valueChanged()