Re: [w3c/webcomponents] [idea] distributedCallback for Custom Elements (#527)

Shoot, even if `distributedCallback` was async, that would be fine. I just need some singular event in time in order for my custom element to know that it has been distributed.

The main problem I'm trying to solve is so that my `motor-node` element can do something like

> "Hey, I've been distributed. Okay, let me emit an event to see if some other motor-node is on the other side of the slot. If there is another motor-node on the other side, then I've successfully connected with my team, and I can go ahead and create a scene graph connection with that motor-node on the other side"

---
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/527#issuecomment-233218116

Received on Monday, 18 July 2016 02:10:10 UTC