Skip to content

Commit feeacd8

Browse files
committed
fix: fix tooltip activator behavior
1 parent 8169842 commit feeacd8

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

test/fixture/pages/index.vue

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@
33
<v-layout justify-center align-center>
44
<v-flex shrink>
55
<v-tooltip right>
6-
<v-btn slot="activator" icon large href="" target="_blank">
7-
<v-icon large>
8-
mdi-code-tags
9-
</v-icon>
10-
</v-btn>
6+
<template #activator="{ on }">
7+
<v-btn
8+
icon
9+
large
10+
href=""
11+
target="_blank"
12+
v-on="on"
13+
>
14+
<v-icon large>
15+
mdi-code-tags
16+
</v-icon>
17+
</v-btn>
18+
</template>
1119
<span>Source</span>
1220
</v-tooltip>
1321
</v-flex>

0 commit comments

Comments
 (0)