+ Start a Discussion

Component Event Example

Module: Lightening Components
Section: Handling Events with Client-Side Controllers
Component Event Example

I tried following the example in this exercise for Component Event Example, but I think there's something missing in the "receiverController.js".  The code sample is identical to that of "Application Event Example".  Now I get this with the first two buttons doing nothing (Message: None never changes) but the second set of buttons working correctly.  What am I or the sample code missing?

    answer : function(component, event, helper) {
        var text = event.getParam("text");
        component.set("v.myText", text);

What I get:
myApp.app Example

Thank you for your guidance and time!