Vuido
GitHub
Search…
About Vuido
Introduction
Installation
Usage
Packaging
Built-in Components
Window
Containers
Widgets
Area
Button
Checkbox
ColorButton
Combobox
DatePicker
DateTimePicker
DropdownList
FontButton
ProgressBar
RadioButtons
Separator
Slider
Spinbox
Text
TextArea
TextInput
TimePicker
Powered By
GitBook
DropdownList
A widget for selecting a value from a drop-down list.
DropdownList supports the
v-model
directive.
Attributes
items
type: Array
An array of strings representing the available options.
selected
type: Number
The index of the currently selected option.
Events
change
Emitted when the selected option is changed. The current index is passed as an argument.
Example
1
<
DropdownList
v-bind:
items
=
"
[
'
Option 1
'
,
'
Option 2
'
,
'
Option 3
'
]
"
2
v-model
=
"
selected
"
/>
Copied!
Previous
DateTimePicker
Next
FontButton
Last modified
4yr ago
Copy link
Contents
Attributes
items
selected
Events
change
Example