vue-tribute icon indicating copy to clipboard operation
vue-tribute copied to clipboard

can i return vue copmponents in the options

Open den-ii opened this issue 2 years ago • 0 comments

I want to be able to use vue templates/components in the options. I don't reall know if it is. Something like const options = { trigger: '@', values: function (text, cb) { console.log(text) tagSearch(text, (users) => cb(users)) }, lookup: 'username', fillAttr: 'username', noMatchTemplate: function () { return '' }, menuItemTemplate: function (item) { return <avatar/> }

}

den-ii avatar Aug 13 '23 19:08 den-ii