Activity Forums Salesforce® Discussions How can we pass Parameters from component to Jscontroller in Salesforce Lightning?

  • Manpreet

    Member
    April 20, 2017 at 1:36 pm

    Hi suraj,

    Somthing like this:
    <aura:iteration items="{!v.newCases}" var="case">
    <button type="button" onclick="{!c.showCaseDeleteModal(case.Id)}">Delete</button>
    </aura:iteration>

    You can further refer to this article : https://developer.salesforce.com/blogs/developer-relations/2015/03/lightning-components.html

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos