Lightning Web Component-19 (Communication between Components)
Вставка
- Опубліковано 7 вер 2024
- It explains how to pass data between components. It has the following things.
Data flow from Parent to Child Component in the same DOM tree using "Public Property"
Data flow form Child to Parent Component in the same DOM tree using "CustomEvent"
Date flow between Parent and Child Component on the same Flexi page using the "Pubsub" module.
Reference:
developer.sale...
developer.sale...
Explanation is very nice! practical base learning
Great classes 👍
Excellent Content
awesome session bro..keep doing ...keep rocking
Excellent learning tutorial..!!
Thank you !All the best!
How can I get a method from the child to run, when a button is clicked in the parent??
developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_javascript_methods
Hello
Sir
I am very much thankful for your videos
I need a video on real time errors on lightning and dml operations please make a video on these
Hi Rahul,
I suggest do not think about real time there is no any specific real time errors. You divide these topics into
DML exceptions and Lightning errors
Then try to research on both individually you can get it before I do the video.
All the best!
facing the following error.. :- No MODULE named markup://c:pubsub found while deploying to source org
Please check whether you are created pubsub component and import.
where is c/pubsub...is it pre-coded
Yes it is pre coded.It’s from Salesforce.
Sir could you please share the ppts?
Hi Shubham,
If you want ppt for source code then please refer SalesforceTecbook GitHub.
PPT’s cannot be shared 😊
I'm newbie to lwc and I have a requirement in lwc. Below is my requirement:
I have a custom object - quality feedback.
I have some custom fields in this object - ticket number,Status(picklist-open and closed),date submitted,date updated,complaint,detail(compalint and detail are dependent picklist)
I have created an app page which is having tabset-all tickets,open tickets,closed tickets(created using lwc)
So depending on the status field,the record should sent to that particular tab and show the list of records like a table means when I select open in status that record should be displayed in open ticket tab,when I select closed in status that record should be displayed in closed ticket tab
Can anyone help me with this requirement?
Filter and pull the data from apex methoda and render it in the tab