VRadioGroup
Props
Name | Type | Description |
---|---|---|
aria-current | Enum:page step location date time true false | Indicates the element that represents the current item within a container or set of related elements. |
label | string | Indicates the group's label. |
readonly | boolean | When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly |
disabled | boolean | Disables the radio group and child radios. |
name | string | The name of the radio group. Setting this value will set the name value for all child radio elements. |
value | string | The value of the checked radio |
orientation | Enum:horizontal vertical horizontal vertical | The orientation of the group |
Events
Name | Event Type | Description |
---|---|---|
click | MouseEvent | Fires 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. |
focus | FocusEvent | Fires when the element receives focus. |
blur | FocusEvent | Fires when the element loses focus. |
keydown | KeyboardEvent | Fires when a key is pressed. |
keyup | KeyboardEvent | Fires when a key is released. |
input | Event | Fires when the value of an element has been changed. |
change | CustomEvent<undefined> | Fires a custom 'change' event when the value changes |
Slots
Name | Description |
---|---|
default | Default slot. |
Methods
Name | Type | Description |
---|---|---|
nameChanged | () => void |