Re: [w3c/webcomponents] Why must the is="" attribute exist? (#509)

@domenic 

We should make the result of `instanceof` be obvious. I think this could be better in v1 (without `is=""` and without `options.extends`):

```html
<my-el></my-el>
```
```js
class MyEl extends HTMLDivElement { /*... */ }
customElements.define('my-el', MyEl)

// ...

document.querySelector('my-el') instanceof MyEl // true!
```

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

Received on Saturday, 2 July 2016 21:59:40 UTC