Skip to main content
Version: 4.x

vime-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#

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

Properties#

PropertyAttributeDescriptionTypeDefault
valuevalueThe current value selected for this group.string โˆฃ undefinedundefined

Events#

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

Slots#

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

Dependencies#

Used by#

Graph#

graph TD;
vime-default-settings --> vime-menu-radio-group
style vime-menu-radio-group fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS