Option B:Custom events in LWC allow data to be passed using thedetailproperty of theCustomEventobject. This is the recommended way to pass data in a custom event.
[Reference:Custom Events in LWC, Option C:By default, custom events propagate to their immediate parent and child components. Additional propagation can be managed using thecomposedandbubblesproperties., Reference:Event Propagation in LWC, , , ]
Submit