Slots
default — The radio label.
helper-text — Renders content below the input.
value-missing — Renders content when the required validation fails.
custom-error — Renders content when setCustomValidity(message) is set.
invalid — Renders content when the component is in invalid state (validity.valid = false).
CSS Parts
base — The radio control base wrapper.
control — The radio input control.
label — The radio control label.

The checked state of the control.

checked: boolean

The label position of the radio control.

labelPosition: ToggleLabelPosition
required: boolean

The value attribute of the control.

value: string

Removes focus from the radio control.

blur(): void

Returns void

Checks for validity of the control and emits the invalid event if it invalid.

checkValidity(): boolean

Returns boolean

Simulates a click on the radio control.

click(): void

Returns void

Sets focus on the radio control.

focus(options: FocusOptions): void

Parameters

  • options: FocusOptions

Returns void

Checks for validity of the control and shows the browser message if it invalid.

reportValidity(): boolean

Returns boolean

Sets a custom validation message for the control. As long as message is not empty, the control is considered invalid.

setCustomValidity(message: string): void

Parameters

  • message: string

Returns void

Emitted when the control's checked state changes.

onChange(args: CustomEvent<IgrRadioChangeEventArgs>): void

Parameters

Returns void