input decorator in angular | output decorator in angular

preview_player
Показать описание
input decorator in angular | output decorator in angular | Share data between components | output decorator in angular

In Angular, @Input and @Output are decorators used to create bindings between parent and child components to facilitate communication.

@Input:

The @Input decorator is used to expose a property of a child component so that it can accept values from its parent component.

It allows data to flow from the parent component to the child component.

To use @Input, you decorate a property in the child component with it and then pass data to that property from the parent component's template.

@Output:

The @Output decorator is used to create custom events in a child component that the parent component can listen to.

It allows data or events to flow from the child component to the parent component.

To use @Output, you decorate a property in the child component with it and emit events from that property.

These decorators are essential for building interactive and modular Angular applications by facilitating the exchange of data and events between components

Stackblitz Link:-

You can watch our previous videos:-

Angular Architecture:

Angular features:

Angular & Typescript

Create a Angular16 Application

Angular Directive and CustomDirective

Angular Pipe and How to create custom pipe.

You can follow us on Instagram

@input decorator
@output decorator
sharedatabetweencomponents
angular
angularforbeginners
angularproject
angulangulartutorial
learnangular
angularcourse
typescripttutorial
typescript

#angulardecorators
#sharedatabetweencomponents
Комментарии
Автор

If you find this video useful.Don't forget to like and subscribe channel.

angnetcoding