Re: [w3c/webcomponents] Support Custom Pseudo-elements (#300)

Say you're using an `<x-button>` component in your own shadow tree, and it exposes a "label" part that you'd like to expose as part of your own API. You can do `<x-button part="label => button-label">`, and now `::part(button-label)` will work on you, and target the `<x-button>`s `::part(label)`.

-- 
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/300#issuecomment-279039604

Received on Friday, 10 February 2017 19:20:17 UTC