Skip to content

Instantly share code, notes, and snippets.

@bryceosterhaus
Created August 23, 2021 21:21
Show Gist options
  • Save bryceosterhaus/b9baf61fadc730f4af3f8a2ee2759fc5 to your computer and use it in GitHub Desktop.
Save bryceosterhaus/b9baf61fadc730f4af3f8a2ee2759fc5 to your computer and use it in GitHub Desktop.
class OneDialog extends HTMLElement {
connectedCallback() {
this.innerHTML = `<h1>Hello, World!</h1>`;
}
}
customElements.define('one-dialog', OneDialog);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment