Created
October 29, 2018 20:47
-
-
Save jenshelderweirdt/d9b07ce3eec1e4fe63efb44229441c2f 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 MyCustomParagraph extends HTMLElement { | |
constructor() { | |
super(); | |
} | |
//all the properties and methods | |
} | |
window.customElements.define('my-custom-paragraph', MyCustomParagraph); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment