Created
May 28, 2021 11:31
-
-
Save heijmerikx/da3390c887fd21c6e76203f1203843f0 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
({ | |
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