Re: [w3c/webcomponents] Non-class based example of customElement.define() (#587)

I made [babel-html-element](https://www.npmjs.com/package/babel-html-element) to help with this. 

```javascript
import HTMLElement from 'babel-html-element'
 
export default class MyCustomElement extends HTMLElement {
  attributeChangedCallback(name, oldValue, newValue) {}
  connectedCallback() {}
  disconnectedCallback() {}
  updateRendering() {}
}
```

-- 
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/587#issuecomment-262417201

Received on Wednesday, 23 November 2016 01:46:13 UTC