Search code examples
vue.jstooltip

How to create tooltip with vue.js?


I am creating simple application using Vue2, In my application i need tooltip with interactive buttons, this tooltip should only appear when text in textarea is selected, I want to find library like https://www.cssscript.com/tooltip-text-selection-texttip/, but for Vue2, After a very long search I could not find anything like this, I also tried to use v-tooltip but it But I could not find that kind of tooltip, any Offer?


Solution

  • You can just use plain html and css: Check out this link: w3schools css tooltip

    and conditionally show by using v-if as shown examples in the Vue docs v-if Vue Docs