Today I got a requirement. Which is interesting to me. I hope it will be same for you all. Requirement is need to show the list of records(eg. Account) once the user click the record need to pass the account id to the client side controller and we need to do some operation on that record. In this blog I am going to explain how we pass the value from the component to client side controller.
Below is the part of my lightning component page where I am passing the value to client side controller.