- From: Takayoshi Kochi <notifications@github.com>
- Date: Thu, 09 Jul 2015 02:08:33 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 9 July 2015 09:09:06 UTC
Whether or not a shadow root is created 'open' or 'closed' cannot be distinguished because no information is left in shadow root object. A workaoround might be checking if ```shadowRoot.host.shadowRoot === shadowRoot``` where ```shadowRoot``` is a ShadowRoot object. Instead, shall we have a read-only ```.mode``` attribute which reflects the parameter given at ```createShadowRoot()```? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/275
Received on Thursday, 9 July 2015 09:09:06 UTC