Justineo / vue-awesome

Awesome SVG icon component for Vue.js, built-in with Font Awesome icons.

Home Page:https://justineo.github.io/vue-awesome/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't set title

LiuduZero opened this issue · comments

commented

Can't set title on Icon or SVG as usually as other elements

Because i hope move my mouse on Icon , it can show the title such as other elements

As a workaround, you can use this for now:

<v-icon>
  <title>Hoho</title>
  <v-icon name="flag" title="A flag"/>
</v-icon>

I'll add title as a prop later.

commented

As a workaround, you can use this for now:

<v-icon>
  <title>Hoho</title>
  <v-icon name="flag" title="A flag"/>
</v-icon>

I'll add title as a prop later.

node_modules -> vue-awesome -> Icon.vue
image

use
image

I tryed it work well, so is this done?

commented

Thank you so much , but in my project now, i refer to your code and i decide use my way instead of update the version