Activity Forums Salesforce® Discussions What is the use of aura: handler init event in Salesforce Lightning component?

  • What is the use of aura: handler init event in Salesforce Lightning component?

    Posted by Shweta on August 31, 2020 at 3:54 pm

    What is the use of aura: handler init event in the Salesforce Lightning component?

    Deepak replied 4 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Deepak

    Member
    September 1, 2020 at 5:43 am

    init is a predefined event sent to every component. After the component is initialized, the doInit action is called in the component's controller. In this sample, and the controller action sets an attribute value, but it could do something more interesting, such as firing an event.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos