Answer the question
In order to leave comments, you need to log in
What is the use of input and output decorators in TypeScript?
I'm not sure that I understand correctly why fields in components are marked with these decorators @input
and @output
. As far as I understand, in this way a connection is established between the parent component and the child.
Answer the question
In order to leave comments, you need to log in
Hmmm... If earlier it was decent to show incompetence by not distinguishing between javascript and jquery, now, apparently, it's the turn of typescript and angular. Kind of progress.
https://v7.angular.io/guide/template-syntax#input-...
https://v7.angular.io/api/core/Input
https://v7.angular.io/api/core/ Output
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question