-
-
Save yoanmarchal/1a7eb43ea4dfb0757b514e8070a236e3 to your computer and use it in GitHub Desktop.
class create custom element
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
'use strict'; | |
class extends HTMLElement { | |
createdCallback() { | |
} | |
attachedCallback(){ | |
} | |
detachedCallback(){ | |
} | |
attributeChangedCallback(name, oldValue, newValue){ | |
} | |
} | |
document.registerElement('', ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment