Re: [w3c/webcomponents] [idea] Make use of `observedAttributes` optional (#565)

> extending a super class's observedAttributes then becomes tricky

if really needed, there are ways.

```js
class MyElement extends HTMLElement {
  static get observedAttributes() {
    return new RegExp("^my-el-|" + super.observedAttributes().source);
  }
}
```

-- 
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/565#issuecomment-248528919

Received on Wednesday, 21 September 2016 07:06:42 UTC