You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no shadow root exists this.root = this.element + this[__ctx]
I a shadow root exists this.root = this.element.shadowRoot + this[__ctx]
Goal:
replace this[__ctx] with this => the previous this.element is now this
remove this.root. if the user uses mode='open' or mode='closed', then this.shadowRoot is the root, otherwise this (the user needs to take care of it, the default is no shadow root, so it should be transparent)
The text was updated successfully, but these errors were encountered:
Motivation: the user must not think about
Status quo:
this.root = this.element
+this[__ctx]
this.root = this.element.shadowRoot
+this[__ctx]
Goal:
this[__ctx]
withthis
=> the previousthis.element
is nowthis
this.root
. if the user usesmode='open'
ormode='closed'
, thenthis.shadowRoot
is the root, otherwisethis
(the user needs to take care of it, the default is no shadow root, so it should be transparent)The text was updated successfully, but these errors were encountered: