Skip to content

Instantly share code, notes, and snippets.

@heijmerikx
Created May 28, 2021 11:31
Show Gist options
  • Save heijmerikx/da3390c887fd21c6e76203f1203843f0 to your computer and use it in GitHub Desktop.
Save heijmerikx/da3390c887fd21c6e76203f1203843f0 to your computer and use it in GitHub Desktop.
({
sendMessage : function(component, event, helper) {     
const msg = {
name: "Test",
value: 1
};
component.find("TestApp").message(msg);
},
handleMessage: function(component, message, helper) {
const payload = message.getParams().payload;
// Do something
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment