Re: [w3c/webcomponents] How can a custom element detect when it is transcluded into a shadow tree (slotchange)? (#504)

Ahh, ok. Interesting! I think I get it now.

In SD v1 you'll have access to an `assignedSlot` property on slotted nodes for `open` shadow trees. Would you be able to use `motorNode.assignedSlot.parentNode` in the case where you want to check the composed tree?

You can use [our polyfill](https://github.com/skatejs/named-slots/) if you want to try it out.

---
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-229932342

Received on Friday, 1 July 2016 12:18:45 UTC