Hi,
I am trying to use a vue single file component as the content of tooltip. I used the template syntax and it does not work. Is there any other way to achieve this?
getContent:
function
(e) {
console.log(
"getContent"
);
return
{
template: Vue.component(
"Tooltip"
, Tooltip),
templateArgs: Object.assign({},
this
.templateArgs, {
parentComponent:
this
.$refs.ddl
})
};
}
Please find the sample here. https://codesandbox.io/s/vue-template-5ex7i
Regards,
Nalaka