Readonly
changeAn event that is emitted after the radio group value
is changed.
Returns reference to the child radio buttons.
Returns the alignment of the igx-radio-group
.
@ViewChild("MyRadioGroup")
public radioGroup: IgxRadioGroupDirective;
ngAfterViewInit(){
let radioAlignment = this.radioGroup.alignment;
}
Allows you to set the radio group alignment.
Available options are RadioGroupAlignment.horizontal
(default) and RadioGroupAlignment.vertical
.
public alignment = RadioGroupAlignment.vertical;
//..
<igx-radio-group [alignment]="alignment"></igx-radio-group>
Sets/gets whether the radio group is invalid.
Sets/gets the name
attribute of the radio group component. All child radio buttons inherits this name.
Sets/gets whether the radio group is required.
Sets/gets the selected child radio button.
Sets/gets the value
attribute.
Radio group directive renders set of radio buttons.
Igx Module
IgxRadioModule
Igx Theme
igx-radio-theme
Igx Keywords
radiogroup, radio, button, input
Igx Group
Data Entry & Display
Remarks
The Ignite UI Radio Group allows the user to select a single option from an available set of options that are listed side by side.
@example: