stable
MenuMenu component is a list of options.
Example
<v-menu contain-focus :options="options"></v-menu>
1
export default {
data() {
return {
options: [
{ label: 'Option 1' },
{ label: 'Option 2' },
{ label: 'Option 3' },
{ type: 'divider' },
{ label: 'Option 4' },
]
};
},
};
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
Props
Name | Type | Description | Default | Required |
---|---|---|---|---|
options | Array | List of options | [] | false |
containFocus | Boolean | Should focus stay inside popover or not | false | false |
keys | Object | Allows for redefining each option object's keys | {type, label, secondaryText, disabled} | false |