- From: Josh Bruce <notifications@github.com>
- Date: Sun, 03 Dec 2017 06:36:42 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 3 December 2017 06:37:08 UTC
ps. When I wrote the HTML library, I had to reverse the inheritance, and that's when "is" came into being.
```php
Html::button()->is('my-button')
// Turns into
Component::my_button()->extends('button')
```
The third library in the set does inherits directly from component and uses `Html` and `Component` to build the more compound components; or, collapse the breadth of HTML; or, separate out "catch-all" elements like `input`.
--
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/509#issuecomment-348744051
Received on Sunday, 3 December 2017 06:37:08 UTC