Re: [w3c/webcomponents] defined promise (#427)

Not sure what the actual proposal is here, but sounds useful.
So, would it be document.whenDefined("x-mytag") returning a Promise, or could that
method take an array of tag names? document.whenDefined(["x-mytag1", "x-mytag2"]) ?

Do we need to think about shadow dom here? I guess no, custom elements registry is currently global, which may not be quite right. (thinking about some closed shadow dom wanting to use some specific custom element but not expose that to outer world.) But that is a separate issue.

---
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/427#issuecomment-207776828

Received on Saturday, 9 April 2016 11:50:21 UTC