Angular Tutorial - 15 - Component Interaction

  Рет қаралды 563,801

Codevolution

Codevolution

Күн бұрын

Пікірлер: 218
@thehoangnguyen9985
@thehoangnguyen9985 6 жыл бұрын
On the latest Angular 6 version, in order to work, you will have to comment out the default import { EventEmitter } from 'events' and include EventEmitter from '@angular/core' I don't really know what is the EventEmitter from events is, they have the same name but different purpose it seems. Can anyone explain this?
@Codevolution
@Codevolution 6 жыл бұрын
The video is reflects Angular 5 but it has changed in Angular 6 as you point out. I will pin this comment so that it will be helpful for others with the same problem. Thanks
@idlevandal69
@idlevandal69 6 жыл бұрын
Has the video been updated? He is importing EventEmitter from @angular/core at 5:50
@johan_maximus
@johan_maximus 6 жыл бұрын
You saved my life (Y)
@vatsalshah6505
@vatsalshah6505 6 жыл бұрын
should have show multiple value passing. just a suggestion.
@endrefidje5698
@endrefidje5698 6 жыл бұрын
Will there be an updated version of these Angular tutorials based on Angular 7? Seems to be a few things "broken" now.
@Skaxarrat
@Skaxarrat 6 жыл бұрын
I just found your tutorials and I'm enjoying them. This is my 15th video in a row :) Can you do sometimes videos doing small projects (20-60 min vídeos) where you create a small SPA? This way we could learn how to put every thing we learnt together.
@SoumilShah
@SoumilShah 5 жыл бұрын
I have learned more from your videos than Udemy course Good luck Great Job !!!
@nellyville8657
@nellyville8657 5 жыл бұрын
Plz did you succed with the Output Event. It does'nt work with me
@fuzailraashid3041
@fuzailraashid3041 4 жыл бұрын
Very tricky topic...yet explained in a way as a child's play..hats off to you.
@devinosborne3396
@devinosborne3396 3 жыл бұрын
It's Unfair how good these explanations are of Angular.
@Gyanitheking
@Gyanitheking 4 жыл бұрын
Sir, You simplify even the hardest of things. Thanks for putting up these videos
@subramanyamchapala7362
@subramanyamchapala7362 5 жыл бұрын
sir your teaching skills are legendary. Very understandable lecture. thank u .
@shreeameybro2714
@shreeameybro2714 2 жыл бұрын
Learnt the basics within roughly in 3 days thank you sir !!
@bholarai6348
@bholarai6348 5 жыл бұрын
Wonderfully explained, with simplest possible example, thanks
@피누-s6k
@피누-s6k 3 жыл бұрын
If any one getting this error in Angular 12 error TS7008: Member 'parentData' implicitly has an 'any' type. @Input () public parentData; use @Input () public parentData: any;
@ashleymutenha5093
@ashleymutenha5093 3 жыл бұрын
Thanks it helped was stuck for an hour
@senthamarai_kannan.
@senthamarai_kannan. 3 жыл бұрын
It is not working for me.
@senthamarai_kannan.
@senthamarai_kannan. 3 жыл бұрын
thanks a lot
@juliahmwangi1146
@juliahmwangi1146 2 жыл бұрын
Or @Input() public parentData =" " This worked for me
@aswinuthaman6510
@aswinuthaman6510 2 жыл бұрын
thanks bro
@IAmNumber49
@IAmNumber49 Жыл бұрын
Thank you very much... I feel like a loser while programming in angular, but now I've watched this, it helped me a lot to understand how that works.
@vzsshadow3141
@vzsshadow3141 6 жыл бұрын
Thank you very much this video, i am very noob in angular but this was perfectly clear explanation
@AbhishekKumar-sf6no
@AbhishekKumar-sf6no 5 жыл бұрын
woah bro! keep it up....... no ads and best content! such passion and hard work i salute you bro. and may god bless u....
@shadow_3213
@shadow_3213 5 жыл бұрын
Thank you from my heart for your helpfull videos Vishwas !!!
@chagantisubhash
@chagantisubhash 6 жыл бұрын
Awesome, considering donating to encourage your work!! Thanks alot.
@lifeislove9750
@lifeislove9750 6 жыл бұрын
Your way for teaching is really really awesome. 👌👌👌
@HIghtowerSever
@HIghtowerSever 4 жыл бұрын
Extremely understandable explanation! Thanks a lot.
@shilpasoni4609
@shilpasoni4609 4 жыл бұрын
Thank you! this series is really helpful and easy to understand for beginners.
@gwynethpena5305
@gwynethpena5305 4 жыл бұрын
your teaching skills is superb!
@kaushikpower
@kaushikpower 4 жыл бұрын
Your explanation is so simple yet powerful.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
@Praneethyerireddi1234
@Praneethyerireddi1234 3 жыл бұрын
Very simple upto the point video brother. Great ...
@kp00002
@kp00002 6 жыл бұрын
Great Angular Video collections ! Keep it up.
@manwinsingh7381
@manwinsingh7381 2 жыл бұрын
so far soooo good. Really a great course on angular
@sagar8964
@sagar8964 5 жыл бұрын
you are an amazing teacher...!
@ABsazerNer
@ABsazerNer 4 жыл бұрын
You tutorials are always the best, cause you always teach with examples, keep up 👍
@manosubburaj2901
@manosubburaj2901 6 жыл бұрын
Great channel to learn new technologies. Your way of telling is superb. Cngrtz
@imhappynow8471
@imhappynow8471 5 жыл бұрын
finally someone explains it well
@VolodymyrM_UA
@VolodymyrM_UA 3 жыл бұрын
If you get "Can't bind to 'parentData' since it isn't a known property of 'app-test'" error message, check if your test component's selector is defined as Tag: 'app-test' (and used as custom HTML tag: in the app component). Because Class selector: '.app-test' () and Attribute selector: '[app-test]' ( ) will not work, with the above error.
@betterahyosi
@betterahyosi 2 жыл бұрын
Yes I also stuck here
@ahmedabdelaziz4425
@ahmedabdelaziz4425 5 жыл бұрын
I like you angular tutorials, its very easy to understand and apply
@eriksenp
@eriksenp 6 жыл бұрын
Great Job bro! What if I have an app-menu and a router-outlet in my app-root, how can I pass data from parent to components?
@nr7343
@nr7343 4 жыл бұрын
your explanetoins is very clear!!! good
@Johny-y7w
@Johny-y7w 4 ай бұрын
Thanks you sir! Great explanation
@tom17936548
@tom17936548 4 жыл бұрын
Very clear explanation👍
@zakkanderson817
@zakkanderson817 6 жыл бұрын
donation done! amazing work! keep going
@Codevolution
@Codevolution 6 жыл бұрын
Thanks a lot man :)
@satepestage3599
@satepestage3599 2 жыл бұрын
Thanks bro. You explain things very well
@princeprabhu44
@princeprabhu44 2 жыл бұрын
Very good explanation
@gomathirr2062
@gomathirr2062 4 жыл бұрын
perfect explanation !!! thank you so much !!!
@orl123124
@orl123124 5 жыл бұрын
great job bro I've learned a lot with your video
@vijaykarumuri7617
@vijaykarumuri7617 6 жыл бұрын
Great Sir, Keep it up........
@kshBCN
@kshBCN 6 жыл бұрын
You are awesome. Thanks Vishwas
@Thanveershah
@Thanveershah 6 жыл бұрын
Open a Patreon or something , So we can actually donate money for your Amazing work
@gnaresh2348
@gnaresh2348 5 жыл бұрын
Addicted to your videos
@polsanisandeep1706
@polsanisandeep1706 5 жыл бұрын
Bro nice tutorials Thank You.
@kidoo1567
@kidoo1567 6 ай бұрын
Data transfer between parents and child components are using @input and @output decorator
@mahibeats6070
@mahibeats6070 Жыл бұрын
Thanks 👍 nice explanation
@santoshbhat3868
@santoshbhat3868 6 жыл бұрын
Lovely Tutorial
@abhishekmungekar8899
@abhishekmungekar8899 5 жыл бұрын
I am facing an error @Output childData not initialized in 'TestComponent'. using angular 7
@gtrj55tgjr
@gtrj55tgjr 5 жыл бұрын
Hello sir. Thnks for the great tutorial but i have a question, you have send data from child to parent by clicking a button(or by event) , but i dont want to click a button, i want to send while loading and without clicking any button then what should i do for tht
@inascharan
@inascharan 2 жыл бұрын
thank you sir, now i am more confused then earlier! [just-joking!!] it was easier now, but you taught so smooth.
@barezazad2830
@barezazad2830 5 жыл бұрын
thank u mr vishvas , you very help me ..................
@umairali2360
@umairali2360 6 жыл бұрын
sir at 03:35 i have error "1. If 'app-test' is an Angular component and it has 'parentData' input, then verify that it is part of this module. 2. If 'app-test' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.", plz plz help
@kumark691
@kumark691 6 жыл бұрын
Add test component in app.module.ts
@TeluguCartoonist
@TeluguCartoonist 6 жыл бұрын
same error bro how to solve
@umairali2360
@umairali2360 6 жыл бұрын
@@TeluguCartoonist dear my error was in view. and now i did not remember exactly how i solve it, because i am working on laravel
@SameerKhan-ls9ow
@SameerKhan-ls9ow 3 жыл бұрын
I am subscribing you GOD bless you 💖
@babu-vp3fp
@babu-vp3fp 3 жыл бұрын
thanks love from india
@8Kexperience
@8Kexperience 5 жыл бұрын
awesome work, thank you!
@digamber_r7
@digamber_r7 6 жыл бұрын
Thanks for the tutorial! Awesome Job :)
@arnabmondal5596
@arnabmondal5596 6 жыл бұрын
Can we pass an object to the parent thru event and assign it to a property in parent component?
@skilljourney6357
@skilljourney6357 5 жыл бұрын
Thank you for the beautiful explanation
@Neworldexport
@Neworldexport 5 жыл бұрын
I love the way u explain, thanks a lot
@mosamprajapati3515
@mosamprajapati3515 6 жыл бұрын
Very helpful for learning angular
@hariharannagarajan6739
@hariharannagarajan6739 4 жыл бұрын
I intialized the variable name as vishwas, i used the variable in app.component.html, as But it threw an error as "parentData is not a known property of app-test". Kindly advice how to fix this error.
@archanakurup6158
@archanakurup6158 4 жыл бұрын
@Input() parentData; in App test.Import @Input from Angular/core
@deepumon.d3148
@deepumon.d3148 5 жыл бұрын
Nice explanation.
@Hasansaid51
@Hasansaid51 4 жыл бұрын
what if my parent component has How would i lift up an event from child to parent?
@rutujagurav466
@rutujagurav466 4 жыл бұрын
Awesome tutorial
@hadowman6847
@hadowman6847 5 жыл бұрын
Very best explanation : my dawg => Thanks !
@eyotajr
@eyotajr 6 жыл бұрын
when sending data from child to parent i can use the data without redeclaration the data on the parent.. is there some kind side effect because i don't redeclare the data on parent that sent by the child compt?
@VIjayKumartheh2o
@VIjayKumartheh2o 5 жыл бұрын
Why the childEvent property is enclosed with (childEvent) while send the data from Child component to parent component??
@rajeshpeyala3689
@rajeshpeyala3689 5 жыл бұрын
Very nice video. Thank you
@naeemjamali1475
@naeemjamali1475 6 жыл бұрын
Good job, keep it up!
@kacpersarzynski4915
@kacpersarzynski4915 3 жыл бұрын
super tutorial!
@mdfarooq97
@mdfarooq97 5 жыл бұрын
One of the best, to-the-point Angular tutorials. Great Job! Keep it up! I would like to know something more about the component interaction, I have a case where components are not in parent-child relationship and I would like to communicate between them using events, is this possible? For example, There is AppComponent which holds two other components inside it, ComponentA and ComponentB, will it be possible for ComponentA to send events to ComponentB?
@naveenm283
@naveenm283 5 жыл бұрын
yup I am stuck in the same situation
@kishanlal676
@kishanlal676 4 жыл бұрын
Why don't you pass the data from ComponentA to Parent and Parent to ComponentB? I don't know whether there is any straightforward solution for this.
@ZhassT
@ZhassT 6 жыл бұрын
thank you! very understandable
@manjunathkannur2207
@manjunathkannur2207 4 жыл бұрын
Hello , Thanks for this session, but I wanto know whether it is possible to display @input value (which we received from parent component) only on button click. I don't wanto display it on page load..
@rexsam3134
@rexsam3134 3 жыл бұрын
Do you have any videos on communication between 2 child components?
@syawalnazir4676
@syawalnazir4676 6 жыл бұрын
great job Vishwas. I enjoyed learning the basics from your videos. I have a question regards to this child and parent. Can the data using @output from test.component.ts sends to app.components.ts or app.components.html and that being called in instead of
@amirdar116
@amirdar116 Жыл бұрын
.ts file because we are sending value to properly declared in component class of parent
@kleelof
@kleelof 5 жыл бұрын
Good videos. One note. The proper name for '$' is 'string', not 'dollar'.
@keerthid4175
@keerthid4175 3 жыл бұрын
nicely explained
@lifeislove9750
@lifeislove9750 6 жыл бұрын
Anybody can explain me that what is the use of fireEvent at 6:35
@love2shareconcepts200
@love2shareconcepts200 4 жыл бұрын
There is button Send event and on click of this button fireevent function get called which sends event to parent component.
@ejajali2556
@ejajali2556 7 жыл бұрын
thanks bro nice teaching..
@ankitagupta6232
@ankitagupta6232 3 жыл бұрын
can we send multiple data from child to app component or vice-versa?
@gajalvasita2443
@gajalvasita2443 5 жыл бұрын
Nice Work
@nellyville8657
@nellyville8657 5 жыл бұрын
Hi, plz, have you succed with EventEmitter()...? Mine doesn't work
@posamahendra8124
@posamahendra8124 5 жыл бұрын
can you help me in component interaction, like parent component has the input field which will accept id number and name, those two fields data i need to show in child component fields with condition when i select from dropdown the child component fields are coming, now i want to show the id number and name which entered in parent component need to to display in the child component fields. plz help me as soon as possible.
@karthick8810
@karthick8810 5 жыл бұрын
what if i already have a router-outlet for child component in parent component. It will display twice after including child selector in parent component???
@zaraoberain9138
@zaraoberain9138 4 жыл бұрын
Good explain man : )
@JV-vp5vl
@JV-vp5vl 5 жыл бұрын
Hi, nice tutorial! Are parameters passed by value or by reference when interacting between components, and also when calling functions in the same component?
@zaldi19
@zaldi19 7 жыл бұрын
Can we do the same using service?
@imrohan97
@imrohan97 4 жыл бұрын
can we use name of property different from parentData in app-component template?
@gvinianidzegivi
@gvinianidzegivi 7 жыл бұрын
Great course !!!
@varuns6451
@varuns6451 7 жыл бұрын
Hi, nice work dude... how to pass multiple datas between components
@a_rob
@a_rob 6 жыл бұрын
multiple events
@dincarobert8937
@dincarobert8937 6 жыл бұрын
make a service or obj{name: 'book'}
@harshilparmar9076
@harshilparmar9076 6 жыл бұрын
thank you so much brother
@Usertest198
@Usertest198 6 жыл бұрын
Top cours Angular thanks
@akshaynitin5589
@akshaynitin5589 4 жыл бұрын
for parent to child ur passing single variable content. how could i use all declared variable in parent to child component.
@ماياالقدور
@ماياالقدور 5 жыл бұрын
I wish you posted pdf of information you teach it in these video (series) please ......
@muralicse3637
@muralicse3637 4 жыл бұрын
I have a one doubt bro... if I use routing method then how I can interact with other components?
@nikhleshtaneja3615
@nikhleshtaneja3615 5 жыл бұрын
from chhild cumponent ttho the ppharent khumponent ? :D
@rohansharma4971
@rohansharma4971 6 жыл бұрын
hi, i don't understand the part that how does $event refers to 'hey codevolution' ..
@SSR2902
@SSR2902 5 жыл бұрын
Do we only have 1 parent and 1 child, What we have multiple parents with the properties of the same name? How does he know what property I am referring to?
@Iamshivpandey
@Iamshivpandey 5 жыл бұрын
but if parent component use router-outlet for render child components then how to share data to child?
@vikassrinivas7248
@vikassrinivas7248 5 жыл бұрын
What if we use in app.component.html and there is no selector? How can I pass the data then?
@nellyville8657
@nellyville8657 5 жыл бұрын
Plz how did you do with the Output EventEmitter, it doesn't work with me !
@nellyville8657
@nellyville8657 5 жыл бұрын
Plz did you succed with the Output Event. It does'nt work with me
@sravaninallabelli1251
@sravaninallabelli1251 3 жыл бұрын
In this video data is getting from child component to parent component html file but how to get child component data directly to parent ts file please help me
@suyashchirme4887
@suyashchirme4887 5 жыл бұрын
Thanks a ton man!!
@nellyville8657
@nellyville8657 5 жыл бұрын
Plz how did you do with the Output event. It doesn't work withe me
Angular Tutorial - 16 - Pipes
10:15
Codevolution
Рет қаралды 404 М.
Angular Tutorial for Beginners: Learn Angular & TypeScript
2:02:42
Programming with Mosh
Рет қаралды 4,5 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
What does larger scale software development look like?
24:15
Web Dev Cody
Рет қаралды 1,5 МЛН
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 334 М.
Dynamic Component in Angular (2024)
17:48
Decoded Frontend
Рет қаралды 29 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 495 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 315 М.
Angular Tutorial - 14 - ngFor Directive
4:37
Codevolution
Рет қаралды 305 М.
Angular Tutorial - 18 - Dependency Injection
9:25
Codevolution
Рет қаралды 527 М.
NgComponentOutlet in Angular - DECLARATIVE Dynamic Components
21:20
Decoded Frontend
Рет қаралды 11 М.
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 177 М.