Skip to content

Instantly share code, notes, and snippets.

@daKmoR

daKmoR/block3.js Secret

Created February 12, 2020 16:44
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 daKmoR/3d38f54686888006e5c27bb979f8f1f9 to your computer and use it in GitHub Desktop.
Save daKmoR/3d38f54686888006e5c27bb979f8f1f9 to your computer and use it in GitHub Desktop.
import { LitElement, html, css } from 'lit-element';
export class LeaTab extends LitElement {
static get styles() {
return css`/* my stylings */`;
}
render() {
return html`
<!-- dom as needed -->
<slot></slot>
`;
}
}
customElements.define('lea-tab', LeaTab);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment