Skip to content
On this page

VRadioGroup

Props

NameTypeDescription
aria-currentEnum:
page
step
location
date
time
true
false
Indicates the element that represents the current item within a container or set of related elements.
readonlybooleanWhen true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
disabledbooleanDisables the radio group and child radios.
namestringThe name of the radio group. Setting this value will set the name value for all child radio elements.
valuestringThe value of the checked radio
orientationEnum:
horizontal
vertical
horizontal
vertical
The orientation of the group
labelstringIndicates the group's label.

Events

NameEvent TypeDescription
clickMouseEventFires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
focusFocusEventFires when the element receives focus.
blurFocusEventFires when the element loses focus.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.
inputEventFires when the value of an element has been changed.
changeCustomEvent<undefined>Fires a custom 'change' event when the value changes

Slots

NameDescription
defaultDefault slot.