1. Menu
  2. Radio Group

Menu

Radio Group

This component is used to display a set of options where only one can be checked.

Usage

          
        

Styling

        /* Apply styles to radio group. */
media-radio-group {
}

/* Apply styles to radio. */
media-radio {
}

/* Apply styles when radio is checked. */
media-radio[aria-checked='true'] {
}

/* Apply styles to radio check part. */
media-radio [part='check'] {
}

      

Component API

Props

Name Type

value

string

Events

Name Type

change

RadioGroupChangeEvent
Name Description

DEFAULT

Used to insert radio options.

Name Type
Name Description

Instance Props

Name Type

values

readonly string[]

Instance Methods

Name Type