Another Salesforce blog!!!

Salesforce, Apex

Calling generic base component by extends


–Calling base component without passing any params

<aura:component controller="XXXXX" extends="c:Base" >
<aura:handler 
                  name="init" 
                  value="{!this}" 
                  action="{!c.doInit}"/>
({
    doInit : function(component, event, helper) {
        helper.callServer(
            component,
            "c.getCertifications",
            function(response) {  
                component.set('v.certifications', response);
            } 
        ); 	
    }
})

Leave a Reply

Your email address will not be published. Required fields are marked *

*