Getting event attributes from handled events is similar to how we got the parameter value from the application event variable, using getParam(). The same syntax is as follows:
{ handleSampleEvent : function(component, event) { var message = event.getParam("message");
}