Tooltips can be used to show additional information about any element upon hovering over it.

#With Hover event

You can use the Tooltip for various purpose like show additional information etc. LightVue comes with some stunning designs for Tooltip.You can use the tooltip in the following way. LightVue Tooltip bar is Both compatible with Vue 2.x and Vue 3.x.

#With Focus event

You can use the Tooltip for various purpose like show additional information etc. LightVue comes with some stunning designs for Tooltip.You can use the tooltip in the following way. LightVue Tooltip bar is Both compatible with Vue 2.x and Vue 3.x.

#Setup

You can import a component and register it as a local and global vue component as follows:

// import the component
import LvTooltip from 'lightvue/tooltip';
// Register the component locally
export default {
    components: {
        LvTooltip
    }
}
// Register the component globally (Vue 2.x)
Vue.component('LvTooltip', LvTooltip);

// Register the component globally (Vue 3.x)
const app = Vue.createApp({
  // ...
});
app.component('LvTooltip', LvTooltip);
app.mount('#app')