Last active
August 4, 2020 08:44
-
-
Save salesforce-casts/e6fec1b3989540eb63c0b18fd276331a 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
//EventCommunication.js | |
import { LightningElement } from "lwc"; | |
export default class EventCommunication extends LightningElement { | |
handleSend() { | |
this.dispatchEvent(new CustomEvent("senddata")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment