vuejs / Discussion

Vue.js discussion
167 stars 17 forks source link

Use raw html inside v-bind #1320

Open EmanuelDev opened 7 years ago

EmanuelDev commented 7 years ago

Hello, I want to bind an attribute to an achor link element with some raw html. Code looks something like this: <a href="#" class="tooltip-test" v-if="question" :title'=v-html='question''> but ti doesn't work like this. Do you have any suggestions on how can I achieve this? Thanks