- From: Trey Shugart <notifications@github.com>
- Date: Fri, 01 Jul 2016 06:07:23 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc:
Received on Friday, 1 July 2016 13:13:19 UTC
> It's like if someone took me and blindfolded me then placed me in the trunk of a car, I wouldn't be able to see anything, but I'd still know I was getting moved (distributed) to somewhere. If the tree is open, then slot is the reference to the slot element (they put me in the trunk without blindfold). Hah! Yeah, but would that be much different than using `conenctedCallback()` and `assignedSlot` even if it was `null`? When you're connected, you're distributed somewhere whether it's a `<div>` or a `<motor-scene>`. A `<div>` is essentially a custom element with a closed shadow root, even if it's not implemented that way at the browser level. Another way of looking at this might be: ```js connectedCallback () { this.distributedCallback(this.assignedSlot); } ``` --- 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/504#issuecomment-229941700
Received on Friday, 1 July 2016 13:13:19 UTC