Lightning Web Components: Communicating from Parent to Child Component in LWC
Вставка
- Опубліковано 28 лип 2024
- Lightning Web Components: Communicating from Parent to Child Component in LWC | Calling Child component method | PAssing parameters to child component
In this Video We discuss how we can communicate from parent component to child component.
There are two ways by which we can achieve this:
By Passing properties values.
Calling Child API Methods.
Visit knowledgepredator.com for more posts on Salesforce.
How can people dislike his videos? I mean he makes the content so easy to understand. Please keep your good work on. I am sure your channel would be popular soon.
ꜰᴜʀ
EXACTLY ...i always come back here
Thank you so much for another great video. It is nice that you are showing all the concepts in the slides that related to the topic. Very helpful video. Wonderful teaching
love the way he explained the concept
I don't know why this channel is so underrated??? This channel has to grow.... Very beautiful and best content 👌👌👌👌
Thank you . It means a lot !!
Thank u so much. This is the one channel cleared me parent to child data transfer ......... neat presentation
glad it helped :)
Really Awesome and keep Uploading more videos and help us to gain best practices on LWC...
Thanks
Thank you
ur videos are simply awesome to understand thank you so much for sharing knowledge
@swathi kumar: Thank you :)
Thanks for sharing your knowledge 🙂
Very good explanation!! Easy to understand!
thank you :)
Informative!!
why did you stopped making videos, we need people like you
Thank you Shivam.I will try to add more videos whenever possible :)
Please upload more videos like this
Tq bro
Thank you for sharing your knowledge. Please help on this
I have scenario like
Quote(Parent)associated object Quote1(child) . I had overriden child(Quote1) "new" Button in aura(inside calling LWC) . When I'll create record in Quote1 object I want to display parent object details(Readonly), because I had create formula fields in Quote1 along with I need to give input other fields how to achieve this scenario.
Excellent learning tutorial for Beginners .. like me ...one doubt , where you are mentioned child and parent relation,? is this example being applicable for "parent to child communications "or "two component communications" ?
This is for parent to child communication.
Can you make a video where I can pass dynamic data from a Parent Aura component to the Child LWC component?
Please tell me why does the childVideo component not shown up in the custom tab when editing the homepage?
yes.
How is title of child component showing in org when you are dragging parent component on homepage? You did not include the Child Component title in parent component html file. Please, clarify my doubt.
Please use mic to record the audio... audio is feeble. Content is very helpful though.
I am executing same code,i got an error in parentcomponent.js file
.no module named markup:/c:childcomponent found:(markup://c:parentcomponent)
@indu Which part you are executing ? For pasisng parameters or calling childcomponents method?
1.Also check the syntax while using child component inside parent component.
2.If you are using inside lightning experience check for is exposed paramter inside meta file, it should be true
@@SALESFORCEPREDATOR
Thank you sir...it's working now
@@SALESFORCEPREDATOR I am a fresher.I like ur explanation sir.How can I reach you,when I have a doubt in lwc?
Can you give me your email id?
@@Indira570 Sure. You can connect me at salesforcepredator@gmail.com
child sends 'first value' but parent component writes 'second'/ where is first value?