Created
December 25, 2019 11:41
-
-
Save NishuGoel/8a39588bd7256db87998f5e3bb6696b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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