Created
December 25, 2019 11:24
-
-
Save NishuGoel/6349821760fe17fdafb6466a08ed4de5 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
@customElement('my-web-comp') | |
export class myWebComp extends LitElement { | |
@property() | |
compProp = 'hello'; | |
render(){ | |
return html`<p>${this.compProp}</p>`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment