Created
July 23, 2017 06:38
-
-
Save kyuwoo-choi/d4af326bd6f097be09b71ab9c12ecfd2 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
class CurrentTime extends HTMLElement { | |
constructor() { | |
super(); // 항상 맨 앞에! | |
console.log('yey!'); | |
} | |
} | |
window.customElements.define('current-time', CurrentTime); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment