• Overview
@angular/aria/radio-group

RadioGroup

Class

A radio button group container.

API

    
      class RadioGroup<V> {}
    
    

textDirection

any

A signal wrapper for directionality.

items

any

The RadioButton UIPatterns of the child RadioButtons.

orientation

any

Whether the radio group is vertically or horizontally oriented.

skipDisabled

any

Whether disabled items in the group should be skipped when navigating.

focusMode

any

The focus strategy used by the radio group.

disabled

any

Whether the radio group is disabled.

readonly

any

Whether the radio group is readonly.

value

any

The value of the currently selected radio button.

onFocus

void
@returnsvoid

Description

A radio button group container.

Radio groups are used to group multiple radio buttons or radio group labels so they function as a single form control. The RadioGroup is meant to be used in conjunction with RadioButton as follows:

<div ngRadioGroup>  <div ngRadioButton value="1">Option 1</div>  <div ngRadioButton value="2">Option 2</div>  <div ngRadioButton value="3">Option 3</div></div>
Jump to details