I use Vue, vue-fontawesome and v-tooltip. What I simply try to do is this:
<button v-tooltip="<fa icon='sign-out-alt'/>">Upgrade</button>
But that doesn't work, component passed as strings are not rendered. How to get it done easy way?
I use Vue, vue-fontawesome and v-tooltip. What I simply try to do is this:
<button v-tooltip="<fa icon='sign-out-alt'/>">Upgrade</button>
But that doesn't work, component passed as strings are not rendered. How to get it done easy way?
Copyright © 2021 Jogjafile Inc.
In this specific use case, there's an example for that in v-tooltip readme
Here's an example of using a child component as a popover. Instead of my child component, you would use your
<fa icon='sign-out-alt'/>
icon.