Is it possible to Emit an event from a component to the root component if there’s another child in between? Example:
Child Component 1
Child Component 2
I want to pass a parameter from
Child Component 2 to Main Component, for now I’m Emitting an event to
Child Component 1, but is it possible to pass it to
Main Component? directly? Or do I need to pass it to child 1 and then from child 1 to Main Component?