- From: Andres Rios <notifications@github.com>
- Date: Thu, 28 Apr 2016 08:19:41 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc:
Received on Thursday, 28 April 2016 15:20:29 UTC
Hello! I was writing a notification example, something about "submit" a form within a custom element. And I noticed that there's one case when shadowRoot is null when creating. This happen when the custom element is unresolved. What about if add an event that will be fired when the createdCallback was called? Check [this example](https://github.com/rianby64/proposal1/blob/master/tag-a.js#L18) I tried to solve the problem when shadowRoot is null by dispatching my own event. Check [this example](https://github.com/rianby64/proposal1/blob/master/tag-b.js#L27) Hope this idea will be useful in some way. Thanks a lot. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/489
Received on Thursday, 28 April 2016 15:20:29 UTC