Getters and Setters in LWC || Child to Parent communication in LWC

In this video, first we have discussed getters and setters practically and then child to parent communication in LWC

Пікірлер: 2

  • @TheVinscee
    @TheVinsceeАй бұрын

    I tried to filter out some record from array of objects but getter method does not work, Could you please tell me how to do it.

  • @user-lh7qc6cu3j
    @user-lh7qc6cu3jАй бұрын

    Thanks for your videos. They are really helping me to prepare for my interviews. I have one question. The "detailsInChild" attribute that you have used in your parent to child communication code, how were you directly able to reference 'detailsInChild.FirstName', 'detailsInChild.LastName'? The "firstName" and "lastName" data members are not declared as a part of "detailsInChild" object. Still how you could access firstName and LastName as datamembers of detailsInChild object?