Created
November 15, 2017 11:27
-
-
Save hectorlorenzo/f7dad3330df48dd76deb4c3cab080978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const elemClass = class extends HTMLElement { | |
constructor() { | |
super() | |
} | |
static get observedAttributes () { | |
return Object.keys(this.options.data) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment