Delay
The default value of the delay is 400ms
, due to Nielsen Norman Group's recommendations for timing exposing contents where they recommend a delay of 0.3-0.5 seconds.
Plugin
Implementation of the delay using the plugin options.
js
// main.ts/js
import VueBaseTooltip from 'vue-base-tooltip'
app.use(VueBaseTooltip, { delay: 1000 })
Prop
Implementation of the delay using the component prop.
vue
// App.vue
<template>
<RouterView />
<VTooltip :delay="1000" />
</template>