LWC Bootcamp Day 20 | API Decorators in LWC | Public Properties | Parent to Child Communication
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2023
- 𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐓𝐫𝐚𝐜𝐤𝐞𝐫 - shorturl.at/iqGP2
This Video Covers
👉API Decorators
👉Pass data from Parent to Child
👉Public Properties
#lwc #decorators #slds #aura #salesforceproject #vscodeproject #authorizesalesforce #devhub #customevents #collections #map #salesforce #lightning #development #lwc #jsoverview #lighting #salesforcelighting #salesforcetraining #lwcbasics #lwcadvanced #salesforcedeveloper #developer #ankitjain #techjourneywithankit #studysalesforce #lwc #aura #lightningwebcomponent #ankitjain #lwcbootcamp #arrowfunction #callbackfunction
Thank you Ankith Bhai for this video..
Glad you liked it
thankyou Ankit sir. Very helpful.
Glad you liked it
Thank you so much. Its really helpful.
Glad to hear that!
For the assignment , I combined all the learnings together ...created parent and child component ....passed first , last name from parent to child component ...then button on child component to convert all of it to upper case. I then used custom dispatch event from child back to parent to check if name is upper case ...if yes , then reset the fields.
Good job
Thanks for taking addition effort to explain the kebab case scenario sir..really helpful
Glad you liked it
Thank you so much Ankit, it is very useful and Simple to Understand. It's our privilege to acquire knowledge from a folk like you !
Glad you like it
Hi SIr,
Why you are using let label element name in calculate method in JS file when we only have lable ='method name ' in html file why there is mismatch, label and labelelement please explain
Thanks in advance!
LabelElement is a local variable defined in JS file to store HTML label element
Thanks For your Efforts. One Help, u have mentioned Data validations we have to do. So can you tell me Which videos Covers Data Validations. I have Completed bootcamp Series Upto this.
Will upload soon
Hi Ankit
can you please help me to understand difference between @api and getter - setter and when we should go for one of them because both are public are getting used in Parent to child communication
If you want to modify the values getting from UI or from Parent component you can do that using getters and setters