A widget that represent a group of radio buttons.
The RadioButtons widget supports the v-model directive.
v-model
type: Array
An array of strings representing the available options. The array must contain at least one element.
type: Number
The index of the currently selected radio button.
Emitted when the selected radio button is changed. The current index is passed as an argument.
Last updated 7 years ago
<RadioButtons v-bind:items="[ 'Option 1', 'Option 2', 'Option 3' ]" v-model="selected"/>