I have a component listing all my users and for each user there is a edit button which will trigger an application event to set the content (as seen here) of the userItem to allow the input by the user.
As I understand it, my event is on a application level, each component handling this event will respond if the event is fired. As I want to edit a user at a time on my list, my approach isn't good.
So how do I do to fire an event for a single component which is displayed multiple times but for different instances ?
Thank you
Update
I realize I have to use component events, as they do not interfere with others components. Can someone show me an example for my context ?
Thanks in advance.