Re: [w3c/webcomponents] The is="" attribute is confusing? Maybe we should encourage only ES6 class-based extension. (#509)

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