Version: 5.x

vm-menu-radio-group

A collection of radio buttons describing a set of related options. Only one radio button in a group can be selected at the same time.

Visual#

Vime settings menu radio group component

Usage#

<vm-player>
<!-- ... -->
<vm-ui>
<!-- ... -->
<vm-settings>
<vm-submenu label="Playback Rate">
<vm-menu-radio-group value="1">
<vm-menu-radio label="0.5" value="0.5" />
<vm-menu-radio label="Normal" value="1" />
<vm-menu-radio label="2" value="2" />
</vm-menu-radio-group>
</vm-submenu>
</vm-settings>
</vm-ui>
</vm-player>

Properties#

PropertyDescriptionTypeDefault
valueThe current value selected for this group.string โˆฃ undefinedundefined

Events#

EventDescriptionType
vmCheckEmitted when a new radio button is selected for this group.CustomEvent<void>

Slots#

SlotDescription
Used to pass in radio buttons (vm-menu-radio).

Dependencies#

Used by#