Skip to content

Instantly share code, notes, and snippets.

@rahulmalhotra
Created April 5, 2018 09:02
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 rahulmalhotra/42170b5333542f7fbc6928d65945db50 to your computer and use it in GitHub Desktop.
Save rahulmalhotra/42170b5333542f7fbc6928d65945db50 to your computer and use it in GitHub Desktop.
Event handler at source component used in Salesforce Lightning Events Tutorial Repository - SFDCStop
// Function to handle Lightning Event fired from this component itself.
handleRegisteredComponentEvent: function(component, event, helper) {
alert('Event handler at source component that fired the event.');
event.stopPropagation();
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment