Skip to content

Instantly share code, notes, and snippets.

@yoanmarchal
Last active November 21, 2016 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yoanmarchal/1a7eb43ea4dfb0757b514e8070a236e3 to your computer and use it in GitHub Desktop.
Save yoanmarchal/1a7eb43ea4dfb0757b514e8070a236e3 to your computer and use it in GitHub Desktop.
class create custom element
'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