Activity Forums Salesforce® Discussions How do you use wrapper class in LWC?

  • Anjali

    Member
    December 11, 2020 at 12:35 pm
  • Aditya

    Member
    December 15, 2020 at 7:43 am

    `public class wrapp{
    @AuraEnabled
    public Contact con{get;set;}
    @AuraEnabled
    public boolean selected{get;set;}

    public wrapp(boolean selected,Contact con){
    this.con = con;
    this.selected = selected;
    }
    }
    `

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos