- From: Andrea Giammarchi <notifications@github.com>
- Date: Wed, 21 Sep 2016 00:05:49 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 21 September 2016 07:06:42 UTC
> 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