home
~
projects
~
socials
Get A Web Component's Parent Element
For the lightDOM
connectedCallback
(
)
{
console
.
log
(
this
.
parentElement
)
;
}
-- end of line --
References
Node: parentElement property - MDN