Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.79 KB

File metadata and controls

60 lines (42 loc) · 1.79 KB
title ion-radio-group

import Props from '@ionic-internal/component-api/v8/radio-group/props.md'; import Events from '@ionic-internal/component-api/v8/radio-group/events.md'; import Methods from '@ionic-internal/component-api/v8/radio-group/methods.md'; import Parts from '@ionic-internal/component-api/v8/radio-group/parts.md'; import CustomProps from '@ionic-internal/component-api/v8/radio-group/custom-props.mdx'; import Slots from '@ionic-internal/component-api/v8/radio-group/slots.md';

<title>ion-radio-group: Radio Button Group Usage for Ionic Apps</title>

import EncapsulationPill from '@components/page/api/EncapsulationPill';

A radio group is a container for a group of radios. It allows a user to select at most one radio button from a set. Checking one radio button that belongs to a radio group unchecks any previous checked radio button within the same group. For example usage of the radio group, see the radio documentation.

Interfaces

RadioGroupChangeEventDetail

interface RadioGroupChangeEventDetail<T = any> {
  value: T;
}

RadioGroupCustomEvent

While not required, this interface can be used in place of the CustomEvent interface for stronger typing with Ionic events emitted from this component.

interface RadioGroupCustomEvent<T = any> extends CustomEvent {
  detail: RadioGroupChangeEventDetail<T>;
  target: HTMLIonRadioGroupElement;
}

Properties

Events

Methods

CSS Shadow Parts

CSS Custom Properties

Slots