Skip to content

Instantly share code, notes, and snippets.

@ggluta
Created September 17, 2020 18:14
Show Gist options
  • Save ggluta/c12e428aff030f24e4500a6dc1d788f7 to your computer and use it in GitHub Desktop.
Save ggluta/c12e428aff030f24e4500a6dc1d788f7 to your computer and use it in GitHub Desktop.
// STEP 3 - REGISTER THE NEW COMPONENT AS A CUSTOM HTML TAG
window.customElements.define('awesome-component', AwesomeComponent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment