Closed cherimo closed 1 year ago
https://viewweiwu.github.io/vue3-tabs-chrome/ Here are some examples of use.
const handleAdd = () => {
const key = 'tab' + Date.now()
tabRef.value.addTab({
label: 'New Tab',
key
})
tab.value = key
}
https://viewweiwu.github.io/vue3-tabs-chrome/ Here are some examples of use.
const handleAdd = () => { const key = 'tab' + Date.now() tabRef.value.addTab({ label: 'New Tab', key }) tab.value = key }
Thanks it worked
Hi, how can I add tab within JS? I can't call addTab without importing it first right?