How to pass a function to the component of Angular 2?

How to pass a function to a context in a custom component?
July 2nd 19 at 17:52
1 answer
July 2nd 19 at 17:54
Wow as .... and maybe there is a way to solve the problem easier?
For example, the child component to issue the event, a parent component will catch and run that same function, when necessary, and to pass from child what can

Find more questions by tags Angular