Created
February 20, 2019 18:01
-
-
Save choudharymanish8585/f56e814a606c3bf8d246878aaeecef37 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
({ | |
doFormSubmit : function(component, event, helper) { | |
//fetching carTypeId attribute value from event | |
var carTypeId = event.getParam('carTypeId'); | |
var carSearchResultComp = component.find("carSearchResult"); | |
// call the aura:method in the child component | |
var carSearchCmpResult = carSearchResultComp.searchCars(carTypeId); | |
console.log("auraMethodResult: " + carSearchCmpResult); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment