function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shekhar 46shekhar 46 

how to handle events in lwc

what is direction of flow in lwc
Best Answer chosen by shekhar 46
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Shekhar,

Lightning web components dispatch standard DOM events. Components can also create and dispatch custom events. Use events to communicate up the component containment hierarchy.
In case you wish to communicate down the component containment hierarchy, pass properties to the child via HTML attributes, or call its public methods.

Ref link :