Vuido
  • About Vuido
  • Introduction
  • Installation
    • Manual Configuration
    • Production Builds
  • Usage
    • Window Template
    • Script Section
    • Interpolations
    • Computed Properties
    • Conditionals and Loops
    • Handling User Input
    • Managing Windows
    • Displaying Dialogs
    • Custom Components
    • Using libui Classes
    • Common Attributes
  • Packaging
  • Built-in Components
    • Window
    • Containers
      • Box
      • Form
      • Group
      • Tab
    • Widgets
      • Area
        • AreaGroup
        • AreaPath
        • AreaText
      • Button
      • Checkbox
      • ColorButton
      • Combobox
      • DatePicker
      • DateTimePicker
      • DropdownList
      • FontButton
      • ProgressBar
      • RadioButtons
      • Separator
      • Slider
      • Spinbox
      • Text
      • TextArea
      • TextInput
      • TimePicker
Powered by GitBook
On this page
  • Attributes
  • items
  • selected
  • Events
  • change
  • Example
  1. Built-in Components
  2. Widgets

RadioButtons

A widget that represent a group of radio buttons.

The RadioButtons widget supports the v-model directive.

Attributes

items

type: Array

An array of strings representing the available options. The array must contain at least one element.

selected

type: Number

The index of the currently selected radio button.

Events

change

Emitted when the selected radio button is changed. The current index is passed as an argument.

Example

<RadioButtons v-bind:items="[ 'Option 1', 'Option 2', 'Option 3' ]"
              v-model="selected"/>
PreviousProgressBarNextSeparator

Last updated 6 years ago