How to use the @Input() and @Output() decorators with Angular

preview_player
Показать описание
In this video, I give a brief demonstration of how to use the @Input and @Output decorators within the Angular framework. These decorators make passing data from parent to child component and vice-versa seamless!

GitHub username: @Bigless27
Рекомендации по теме
Комментарии
Автор

Finally got an understanding of these decorators. Thanks a lot for the explanation!

thelifeofsarath
Автор

I truly appreciate how explained that @Input goes with "state" & @Output goes with "event". That was amazing!

situtv
Автор

Oh wow I finally understand how @Output works :D Thanks a lot mate.

luandacosta
Автор

what a perfect way to explain it, step by step... now i understand this way better

mejiasuzcateguijose
Автор

can we do this the other way around? like let's say I have a clear button in the parent component, and want an input field to be cleared once i pressed that said button from the parent component?

hewsman
Автор

EXCELLENT SIR, no non-sense, to the point. Thank You, Bobby

bobbycvsixfour
Автор

if i don't want to use a parent component does it work too???

muratbayram
Автор

Excellent Excellent Excellent .
Thanks!

shlomysella
Автор

Hi, what if I want to display parent and child components on different pages using @Input decorator, instead of single one(through routing if possible)

vijaykrishna
Автор

Hi,
I am not getting that "state" property intelliscence in my child-component i.e., @2.06 minute. Could you please let me know what I missed ?
thanks in advance.

ashwink.d.
Автор

nice one i am using route to other component i want pass a value to other component child to child can do that

collectorschannel
Автор

I'm inlove. Thanks so much! so easy!

ohnj
Автор

Thank you! Clear and precise. Really helpful.

harsimerkaur
Автор

How to pass data from siblings to parent component?

saikumarduggana
Автор

im loading a json object into child component from parent but unfortunately its always undefined. i used ngif but its clunky.... how would you suggest i deal with laggy data getting to a child component using the @Input method?

l.e.nichols
Автор

Hi mate! I dont like the font you used into your IDE. :(

GarronArgentina
Автор

Good tutorial, but please change the font of your IDE.

chanu