3 个回答
Hi SHAIK MOULALI,Please define the <aura:set attribute="action"/> above the lightning:card.<aura:set> is used to set the value of an attribute inherited from a parent component, event, or to set the value of the attribute of a component reference.Just like this:-<aura:set attribute="action"></aura:set> <lightning:card footer="{!con.Email}" title="{!con.LastName}" iconName="action:add_contact"> <lightning:Button Label="View Details" Variant="brand"/> <p class="slds-p-horizontal-small"> {!con.FirstName} {!con.LastName} <br/> {!con.Phone} </p> </lightning:card>Please follow the link below for the solution to your question:https://www.forcetalks.com/blog/how-to-use-auraset-in-salesforce-lightning/Hope this explanation will resolve your query. Mark, it as the best answer if you find it helpful.ThanksAkshay