Комментарии:
Great video brother. Thanks for the explanation 👏
ОтветитьExcellent explaination....too useful.
ОтветитьThanks a lot bro
ОтветитьYou mentioned about BUBBLE and COMPOSED phase and what is BUBBLE and CAPTURE then?
ОтветитьReally helpful. Thanks
ОтветитьThank you for sharing this very informative video. Your explanation is awesome. Looking forward to seeing more videos on Lwc
Ответитьin grandparent Html cant we directly get event value from child instead of calling like <c-parent-lwc > to something like <c-child-lwc>. i didnt get why to use parent component in grandparent ..bcz we are already making bubble as true it will propagate to upward till root.
ОтветитьSo if we have case which you shown child parent grand parent ... Then to pass the data from child to parent... Always we have to keep bubble as true and composed as true
Am j correct
I didn't get the part of bubble true and shadow false.
So here what u meant to say is if we have child and parent component ... Child embedded in the parent then two different shadow where one is default DOM and other is the child component shadow dom embedded in default DOM. So this creation of shadow DOM happens by default as we create a child component of parent.
Please answer
Hi
I had a doubt I men if we need both composed:true as well as bubbles: true to propagate to grandparent what use does only bubbles:true and composed:false have.
I did not understand this part.
Awesome
ОтветитьWas always confused regarding composed attribute, after watching i have clarity now. THANKS!
Ответить