@input and @output Decorators in Angular2
Quick Reference :
@input and @output Decorators in Angular
See this below example it gives more info on @input and @output
https://www.themarketingtechnologist.co/building-nested-components-in-angular-2/
Happy Coding
Bhaskar