Skip to content

Instantly share code, notes, and snippets.

@NishuGoel
Created December 25, 2019 11:41
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 NishuGoel/8a39588bd7256db87998f5e3bb6696b7 to your computer and use it in GitHub Desktop.
Save NishuGoel/8a39588bd7256db87998f5e3bb6696b7 to your computer and use it in GitHub Desktop.
import '@nishugoel/my-web-comp/my-web-comp.js';
class NewCustElement extends LitElement{
render(){
return html`
<my-web-comp></my-web-comp> // Using our custom element inside the implementation of another custom element
`;
}
}
customElements.define('new-cust-ele', NewCustElement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment