Lightning Web Components:Communication Between Components From Child to Parent using Custom Events

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 15

  • @mayanksinghkandari2954
    @mayanksinghkandari2954 2 роки тому +6

    this is amazing man, I learned the most important concepts in a dime of time.

  • @shiridevishiri8460
    @shiridevishiri8460 3 роки тому +3

    your explanation step by step ...makes it easy to understand... Thank you for your effort and help.

  • @VenkateshThinks
    @VenkateshThinks 2 роки тому +2

    Your explanation is smooth and easy

  • @cristianvenegas168
    @cristianvenegas168 2 роки тому +1

    So helpful bro, great job

  • @sachinpradhan7519
    @sachinpradhan7519 4 роки тому +3

    Well Explained

  • @bomanbomre1461
    @bomanbomre1461 4 роки тому +1

    Thank you sir for so easy explanation.

  • @gauravtembhurkar1643
    @gauravtembhurkar1643 2 роки тому +1

    can we call particular method from parent component ?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  2 роки тому

      yea we can, add @api decorator to child method which you want to call

  • @SasikalaK-jw6mc
    @SasikalaK-jw6mc 2 роки тому

    Thank you so much....

  • @kaverinalage1735
    @kaverinalage1735 5 років тому +1

    Hi Sir, is it possible to use custom events to communicate from parent to child?? or they are like component events in aura?

    • @SALESFORCEPREDATOR
      @SALESFORCEPREDATOR  5 років тому +1

      @Kaveri You cannot communicate from parent to child using custom events. You can call child components method rather directly from parent component using template selector.
      Also custom events in lwc are DOM events , whereas component events in aura are framework events.

  • @sanjaymehta4510
    @sanjaymehta4510 3 роки тому

    Sir ap hindi mai bhi bnaya kro videos