What is input and output Decorator and there use in angular

Imgur

What is @Input and @Output decorator in Angular

They are a mechanism to send/receive data from one component to another.
@Input is used to receive data in
@Output is used to send data out. Output sends data out by exposing event producers, usually EventEmitter objects.
Reactions

Post a Comment

0 Comments

Close Menu