Create a Hello World Lightning Web Component Unit | Salesforce

PHOTO EMBED

Mon May 03 2021 20:21:02 GMT+0000 (UTC)

Saved by @powercod35 #java

import { LightningElement } from 'lwc';
export default class HelloWorld extends LightningElement {
  greeting = 'World';
  changeHandler(event) {
    this.greeting = event.target.value;
  }
}
content_copyCOPY

https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component