Created
April 10, 2017 17:50
-
-
Save AVGP/e7576cc584e299e01c2d234f2f2e4875 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<script> | |
class MyThing extends HTMLElement { | |
constructor() { super() } | |
connectedCallback() { | |
this.textContent += 'World' | |
} | |
} | |
</script> | |
<my-thing>Hello</my-thing> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment