- From: Jim Montgomery <notifications@github.com>
- Date: Wed, 06 Sep 2017 22:49:47 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 6 September 2017 22:50:17 UTC
`has="mixin"` Idea for managing mixins without conflicting with existing classes or `is=` attribute. A followup to #662 #509 re `is=`.
Goal: address practical need for mixins with existing and custom elements, hook into element lifecycle, not conflict with various libraries, expectations in the wild.
```
...Sorter...
customElements.mixin('sortable', Sorter);
<any has="sortable"></any>
<any has="sortable, filterable, whatever"></any>
```
--
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/663
Received on Wednesday, 6 September 2017 22:50:17 UTC