Skip to content

Instantly share code, notes, and snippets.

@Danny-Engelman
Created July 15, 2023 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Danny-Engelman/f9d6de27ed5cd1bf23bc8d61e940406f to your computer and use it in GitHub Desktop.
Save Danny-Engelman/f9d6de27ed5cd1bf23bc8d61e940406f to your computer and use it in GitHub Desktop.
customElements.define("", class extends HTMLElement {
constructor() {
super()
.attachShadow({ mode: "open" })
.innerHTML = `<style></style>`;
}
connectedCallback() {
this.innerHTML = ``;
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment