Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
({
fireApplicationEvent : function(cmp, event)
{
// Get the application event by using the
// e.<namespace>.<event> syntax
var appEvent = $A.get("e.c:appEvent");
appEvent.setParams({
"message" : "An application event fired me. " +
"It all happened so fast. Now, I'm everywhere!" });
appEvent.fire();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.