File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
packages/docs/src/examples/accessibility Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" text-center" >
3
3
<v-menu >
4
- <template v-slot :activator =" { on , attrs } " >
5
- <v-btn
6
- v-bind =" attrs"
7
- v-on =" on"
8
- >
9
- Click me
10
- </v-btn >
4
+ <template v-slot :activator =" { props: activatorProps } " >
5
+ <v-btn text =" Click me" v-bind =" activatorProps" ></v-btn >
11
6
</template >
12
7
13
8
<v-list >
14
9
<v-list-item @click =" onClick" >
15
- <v-list-item-title > Option 1</v-list-item-title >
10
+ <v-list-item-title title = " Option 1" > </v-list-item-title >
16
11
</v-list-item >
17
12
18
13
<v-list-item disabled >
19
- <v-list-item-title > Option 2</v-list-item-title >
14
+ <v-list-item-title title = " Option 2" > </v-list-item-title >
20
15
</v-list-item >
21
16
22
17
<v-list-item @click =" onClick" >
23
- <v-list-item-title > Option 3</v-list-item-title >
18
+ <v-list-item-title title = " Option 3" > </v-list-item-title >
24
19
</v-list-item >
25
20
</v-list >
26
21
</v-menu >
You can’t perform that action at this time.
0 commit comments