It seems easy but I couldn’t get it to show multiple lines. Is it possible to show using the content?
Here is part of the template from a vue.js component:
Vue.component('label-provider-item',
{
props: ['item'],
template:
'<div v-if="item && item.name" v-tooltip="{show: !item.pagerId, content:item.email item.phone item.specialtu,placement: 'top'}"><dt>{{item.label}}</dt><dd style="margin-bottom:0.25rem;">' +
}
);
I would like the popup to show this:
Email: my email
Phone: my phone
Specialty: my specialty
Can I define a v-tooltip differently where I can use a block of html codes?
Much appreciated.