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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 2

  • @TheVinscee
    @TheVinscee 7 หลายเดือนก่อน

    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.

  • @AishwaryaGovekar
    @AishwaryaGovekar 7 หลายเดือนก่อน

    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?