0👍
I think I got it:
const shadowRoot = ref(null)
onMounted(() => {
shadowRoot.value = getCurrentInstance().vnode.el.parentNode
})
Source:stackexchange.com
0👍
I think I got it:
const shadowRoot = ref(null)
onMounted(() => {
shadowRoot.value = getCurrentInstance().vnode.el.parentNode
})