U
U
user.2019-04-23 12:43:41
Angular
user., 2019-04-23 12:43:41

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 @inputand @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

1 answer(s)
0
0xD34F, 2019-04-23
@0xD34F

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 question

Ask a Question

731 491 924 answers to any question