Activity Forums Salesforce® Discussions What is the use of component.find() in Salesforce Lightning?

  • Pooja

    Member
    January 30, 2020 at 2:59 pm

    Hii Shweta,

    get() method to access the data from the respective components (UI). The find() function has one parameter, which is the local ID of a component within the markup. find()returns different types depending on the result. If the local ID is unique, find() returns the component.

    • This reply was modified 4 years, 2 months ago by  Forcetalks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos