Relative Content

Tag Archive for vue.js

How to click a link () inside a vue.js v-tooltip? Is it possible to do?

In my vue.js app, I am implementing a vue.js component with a v-tooltip to display it’s content with multiple entries. One of the entry is a anchor link. The tooltip is working using mouse hover, so as soon as the mouse is hovered outside of the item it tooltip is no longer visible. How do I get around the issue so that a link inside the tooltip can be clicked?
Here is my vue.js component

How can i make a class in vue based on a condition from database

I have multiple div elements with a class based on a special condition. I’m checking this condition once I receive data from a database. The problem is the component is rendered before receiving the data from a database. I’ve tried to make an async function and use await, but it didn’t work. (I’m not very proficient in JS and Vue)