12 lines
446 B
JavaScript
12 lines
446 B
JavaScript
({
|
|
selectAccount : function(component, event, helper){
|
|
// get the selected Account from list
|
|
var getSelectAccount = component.get("v.oAccount");
|
|
// call the event
|
|
var compEvent = component.getEvent("oSelectedAccountEvent");
|
|
// set the Selected Account to the event attribute.
|
|
compEvent.setParams({"accountByEvent" : getSelectAccount });
|
|
// fire the event
|
|
compEvent.fire();
|
|
},
|
|
}) |