DropdownMenu
<DropdownMenu :items="[Item]" />
Prop name |
Description |
Type |
Values |
Default |
items |
The items of the dropdown menu |
Item[] |
- |
() => [] |
Name |
Description |
Bindings |
prepend |
Prepends the dropdown menu |
|
items |
Displays content inside the dropdown menu |
click-item function - The function to call when an item is clicked items array - The Item list |
item |
Displays the dropdown menu item |
click-item function - The function to call when an item is clicked item object - The Item object |
append |
Appends the dropdown menu |
|
Event name |
Properties |
Description |
click:item |
item Item - The item that was clicked |
Fired when an item is clicked |