In the last blog post we looked at how to fire events and send data.
In this blog we will be looking at how to send complex data types (objects) via events.
Here is the snippet which demos that!
Just a heads up it's not
details its just
Also, in an object when key and value are having the same naming convention, we can just use this notation.
This is the parent or containing component.
Here is the controller file in the parent component.
Hope this helps!