Skip to content

Commit 34ce714

Browse files
author
Guillaume Chau
committed
Delay example
1 parent ae660ad commit 34ce714

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

demo-src/src/App.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@
3939
<div class="section-content">
4040
<h2>Customize it!</h2>
4141
<button class="tooltip-target b2" v-tooltip="{
42-
content: 'You can change a lot of parameters: placement, classes, offset...',
42+
content: 'You can change a lot of parameters: placement, classes, offset, delay...',
4343
placement: 'bottom-center',
4444
classes: ['info'],
4545
offset: 100,
46+
delay: {
47+
show: 500,
48+
hide: 0,
49+
},
4650
}">Hover me</button>
4751
</div>
4852
</section>
@@ -188,6 +192,10 @@ const componentSnippet2 = `
188192
placement: 'bottom-center',
189193
classes: ['info'],
190194
offset: 100,
195+
delay: {
196+
show: 500,
197+
hide: 0,
198+
},
191199
}">Hover me</button>`
192200
193201
const styleSnippet2 = `

0 commit comments

Comments
 (0)