Last active
February 17, 2019 22:33
-
-
Save choudharymanish8585/8e7514de0d49531ac82b62373487dc2c 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
({ | |
getCarType : function(component, helper) { | |
/* | |
* Below line of code uses inheritance to | |
* call server side controller from | |
* base component's helper method | |
* */ | |
helper.callServer(component, "c.getCarTypes", | |
function(response){ | |
component.set("v.carTypes", response); | |
}); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment