No video

Angular Tutorial - 15 - Component Interaction

  Рет қаралды 558,336

Codevolution

Codevolution

Күн бұрын

📘 Courses - learn.codevolu...
💖 Support UPI - support.codevo...
💖 Support PayPal - www.paypal.me/...
💾 Github - github.com/gop...
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Angular | Angular Tutorial for Beginners | Component Interaction

Пікірлер: 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 5 жыл бұрын
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 5 жыл бұрын
Has the video been updated? He is importing EventEmitter from @angular/core at 5:50
@johan_maximus
@johan_maximus 5 жыл бұрын
You saved my life (Y)
@vatsalshah6505
@vatsalshah6505 5 жыл бұрын
should have show multiple value passing. just a suggestion.
@endrefidje5698
@endrefidje5698 5 жыл бұрын
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 4 жыл бұрын
I have learned more from your videos than Udemy course Good luck Great Job !!!
@nellyville8657
@nellyville8657 4 жыл бұрын
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.
@user-wr9vl3xr9x
@user-wr9vl3xr9x 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 2 жыл бұрын
Thanks it helped was stuck for an hour
@senthamarai_kannan.
@senthamarai_kannan. 2 жыл бұрын
It is not working for me.
@senthamarai_kannan.
@senthamarai_kannan. 2 жыл бұрын
thanks a lot
@juliahmwangi1146
@juliahmwangi1146 2 жыл бұрын
Or @Input() public parentData =" " This worked for me
@aswinuthaman6510
@aswinuthaman6510 Жыл бұрын
thanks bro
@Gyanitheking
@Gyanitheking 4 жыл бұрын
Sir, You simplify even the hardest of things. Thanks for putting up these videos
@devinosborne3396
@devinosborne3396 3 жыл бұрын
It's Unfair how good these explanations are of Angular.
@shreeameybro2714
@shreeameybro2714 Жыл бұрын
Learnt the basics within roughly in 3 days thank you sir !!
@subramanyamchapala7362
@subramanyamchapala7362 4 жыл бұрын
sir your teaching skills are legendary. Very understandable lecture. thank u .
@bholarai6348
@bholarai6348 5 жыл бұрын
Wonderfully explained, with simplest possible example, thanks
@lifeislove9750
@lifeislove9750 5 жыл бұрын
Your way for teaching is really really awesome. 👌👌👌
@vzsshadow3141
@vzsshadow3141 6 жыл бұрын
Thank you very much this video, i am very noob in angular but this was perfectly clear explanation
@shadow_3213
@shadow_3213 5 жыл бұрын
Thank you from my heart for your helpfull videos Vishwas !!!
@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.
@AbhishekKumar-sf6no
@AbhishekKumar-sf6no 4 жыл бұрын
woah bro! keep it up....... no ads and best content! such passion and hard work i salute you bro. and may god bless u....
@shilpasoni4609
@shilpasoni4609 4 жыл бұрын
Thank you! this series is really helpful and easy to understand for beginners.
@HIghtowerSever
@HIghtowerSever 4 жыл бұрын
Extremely understandable explanation! Thanks a lot.
@Johny-y7w
@Johny-y7w 2 күн бұрын
Thanks you sir! Great explanation
@kaushikpower
@kaushikpower 3 жыл бұрын
Your explanation is so simple yet powerful.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
@chagantisubhash
@chagantisubhash 6 жыл бұрын
Awesome, considering donating to encourage your work!! Thanks alot.
@ABsazerNer
@ABsazerNer 4 жыл бұрын
You tutorials are always the best, cause you always teach with examples, keep up 👍
@VolodymyrM_UA
@VolodymyrM_UA 2 жыл бұрын
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 Жыл бұрын
Yes I also stuck here
@imhappynow8471
@imhappynow8471 5 жыл бұрын
finally someone explains it well
@gwynethpena5305
@gwynethpena5305 3 жыл бұрын
your teaching skills is superb!
@sagar8964
@sagar8964 5 жыл бұрын
you are an amazing teacher...!
@Thanveershah
@Thanveershah 5 жыл бұрын
Open a Patreon or something , So we can actually donate money for your Amazing work
@manwinsingh7381
@manwinsingh7381 2 жыл бұрын
so far soooo good. Really a great course on angular
@kp00002
@kp00002 6 жыл бұрын
Great Angular Video collections ! Keep it up.
@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
@ahmedabdelaziz4425
@ahmedabdelaziz4425 5 жыл бұрын
I like you angular tutorials, its very easy to understand and apply
@Praneethyerireddi1234
@Praneethyerireddi1234 3 жыл бұрын
Very simple upto the point video brother. Great ...
@kidoo1567
@kidoo1567 2 ай бұрын
Data transfer between parents and child components are using @input and @output decorator
@manosubburaj2901
@manosubburaj2901 5 жыл бұрын
Great channel to learn new technologies. Your way of telling is superb. Cngrtz
@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?
@gomathirr2062
@gomathirr2062 4 жыл бұрын
perfect explanation !!! thank you so much !!!
@nr7343
@nr7343 4 жыл бұрын
your explanetoins is very clear!!! good
@princeprabhu44
@princeprabhu44 Жыл бұрын
Very good explanation
@zakkanderson817
@zakkanderson817 6 жыл бұрын
donation done! amazing work! keep going
@Codevolution
@Codevolution 6 жыл бұрын
Thanks a lot man :)
@santoshbhat3868
@santoshbhat3868 5 жыл бұрын
Lovely Tutorial
@gnaresh2348
@gnaresh2348 4 жыл бұрын
Addicted to your videos
@satepestage3599
@satepestage3599 Жыл бұрын
Thanks bro. You explain things very well
@abhishekmungekar8899
@abhishekmungekar8899 5 жыл бұрын
I am facing an error @Output childData not initialized in 'TestComponent'. using angular 7
@mahibeats6070
@mahibeats6070 Жыл бұрын
Thanks 👍 nice explanation
@8Kexperience
@8Kexperience 5 жыл бұрын
awesome work, thank you!
@vijaykarumuri7617
@vijaykarumuri7617 6 жыл бұрын
Great Sir, Keep it up........
@rajeshpeyala3689
@rajeshpeyala3689 5 жыл бұрын
Very nice video. Thank you
@polsanisandeep1706
@polsanisandeep1706 5 жыл бұрын
Bro nice tutorials Thank You.
@damithdilanka661
@damithdilanka661 3 жыл бұрын
Thank you very much brother
@tom17936548
@tom17936548 4 жыл бұрын
Very clear explanation👍
@kshBCN
@kshBCN 5 жыл бұрын
You are awesome. Thanks Vishwas
@orl123124
@orl123124 4 жыл бұрын
great job bro I've learned a lot with your video
@SameerKhan-ls9ow
@SameerKhan-ls9ow 3 жыл бұрын
I am subscribing you GOD bless you 💖
@chiduraharish2661
@chiduraharish2661 6 жыл бұрын
Very Usefull for learning angular
@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
@VIjayKumartheh2o
@VIjayKumartheh2o 5 жыл бұрын
Why the childEvent property is enclosed with (childEvent) while send the data from Child component to parent component??
@kacpersarzynski4915
@kacpersarzynski4915 3 жыл бұрын
super tutorial!
@barezazad2830
@barezazad2830 5 жыл бұрын
thank u mr vishvas , you very help me ..................
@babu-vp3fp
@babu-vp3fp 3 жыл бұрын
thanks love from india
@Neworldexport
@Neworldexport 4 жыл бұрын
I love the way u explain, thanks a lot
@ZhassT
@ZhassT 5 жыл бұрын
thank you! very understandable
@keerthid4175
@keerthid4175 2 жыл бұрын
nicely explained
@mosamprajapati3515
@mosamprajapati3515 6 жыл бұрын
Very helpful for learning angular
@digambersingh555
@digambersingh555 6 жыл бұрын
Thanks for the tutorial! Awesome Job :)
@skilljourney6357
@skilljourney6357 5 жыл бұрын
Thank you for the beautiful explanation
@Hasansaid51
@Hasansaid51 4 жыл бұрын
what if my parent component has How would i lift up an event from child to parent?
@kleelof
@kleelof 4 жыл бұрын
Good videos. One note. The proper name for '$' is 'string', not 'dollar'.
@zaraoberain9138
@zaraoberain9138 4 жыл бұрын
Good explain man : )
@deepumon.d3148
@deepumon.d3148 5 жыл бұрын
Nice explanation.
@mdfarooq97
@mdfarooq97 4 жыл бұрын
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 4 жыл бұрын
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.
@arnabmondal5596
@arnabmondal5596 6 жыл бұрын
Can we pass an object to the parent thru event and assign it to a property in parent component?
@rutujagurav466
@rutujagurav466 4 жыл бұрын
Awesome tutorial
@gajalvasita2443
@gajalvasita2443 4 жыл бұрын
Nice Work
@nellyville8657
@nellyville8657 4 жыл бұрын
Hi, plz, have you succed with EventEmitter()...? Mine doesn't work
@syawalnazir4676
@syawalnazir4676 5 жыл бұрын
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
@naeemjamali1475
@naeemjamali1475 6 жыл бұрын
Good job, keep it up!
@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?
@hadowman6847
@hadowman6847 5 жыл бұрын
Very best explanation : my dawg => Thanks !
@harshilparmar9076
@harshilparmar9076 5 жыл бұрын
thank you so much brother
@JV-vp5vl
@JV-vp5vl 4 жыл бұрын
Hi, nice tutorial! Are parameters passed by value or by reference when interacting between components, and also when calling functions in the same component?
@gvinianidzegivi
@gvinianidzegivi 6 жыл бұрын
Great course !!!
@inascharan
@inascharan 2 жыл бұрын
thank you sir, now i am more confused then earlier! [just-joking!!] it was easier now, but you taught so smooth.
@ejajali2556
@ejajali2556 6 жыл бұрын
thanks bro nice teaching..
@user-cq7db9ij1o
@user-cq7db9ij1o 6 жыл бұрын
This does not work. Saying childEvent is not a function
@Usertest198
@Usertest198 6 жыл бұрын
Top cours Angular thanks
@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..
@zaldi19
@zaldi19 6 жыл бұрын
Can we do the same using service?
@SSR2902
@SSR2902 4 жыл бұрын
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?
@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
@rexsam3134
@rexsam3134 3 жыл бұрын
Do you have any videos on communication between 2 child components?
@karthick8810
@karthick8810 4 жыл бұрын
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???
@ankitagupta6232
@ankitagupta6232 2 жыл бұрын
can we send multiple data from child to app component or vice-versa?
@suyashchirme4887
@suyashchirme4887 5 жыл бұрын
Thanks a ton man!!
@nellyville8657
@nellyville8657 4 жыл бұрын
Plz how did you do with the Output event. It doesn't work withe me
@varuns6451
@varuns6451 6 жыл бұрын
Hi, nice work dude... how to pass multiple datas between components
@a_rob
@a_rob 6 жыл бұрын
multiple events
@dincarobert8937
@dincarobert8937 5 жыл бұрын
make a service or obj{name: 'book'}
@Iamshivpandey
@Iamshivpandey 5 жыл бұрын
but if parent component use router-outlet for render child components then how to share data to child?
@SofianMW
@SofianMW 5 жыл бұрын
good 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.
@umairali2360
@umairali2360 5 жыл бұрын
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 5 жыл бұрын
Add test component in app.module.ts
@TeluguCartoonist
@TeluguCartoonist 5 жыл бұрын
same error bro how to solve
@umairali2360
@umairali2360 5 жыл бұрын
@@TeluguCartoonist dear my error was in view. and now i did not remember exactly how i solve it, because i am working on laravel
@deepthik9500
@deepthik9500 Жыл бұрын
Hi, In react why we can't send the data from child to parent. In underhood what is the difference between the angular and react.
@jaypatel2471
@jaypatel2471 7 ай бұрын
In React, data flow is typically unidirectional, from parent to child, and communication from child to parent is achieved using callback functions passed as props. In Angular, you can use @Output and EventEmitter for child-to-parent communication, and it also provides a more extensive system for component interaction, including services and dependency injection. React is a library for building UI components, while Angular is a complete framework with a more opinionated structure and additional features.
@imrohan97
@imrohan97 3 жыл бұрын
can we use name of property different from parentData in app-component template?
@UdayNand7
@UdayNand7 Жыл бұрын
what if we want to send method from parent to child
Angular Tutorial - 16 - Pipes
10:15
Codevolution
Рет қаралды 400 М.
Angular Tutorial - 18 - Dependency Injection
9:25
Codevolution
Рет қаралды 519 М.
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,8 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 96 МЛН
Angular Tutorial for Beginners: Learn Angular & TypeScript
2:02:42
Programming with Mosh
Рет қаралды 4,4 МЛН
Angular Tutorial - 14 - ngFor Directive
4:37
Codevolution
Рет қаралды 301 М.
microsoft doubles down on recording your screen
10:00
Low Level Learning
Рет қаралды 123 М.
Sharing Data between Components in Angular
5:19
Fireship
Рет қаралды 494 М.
Angular 16 Signals | Sibling Communication | Services
16:56
Techshareskk
Рет қаралды 1,2 М.
Angular Tutorial - 17 - Services
5:31
Codevolution
Рет қаралды 493 М.
Angular Tutorial - 20 - HTTP and Observables
7:41
Codevolution
Рет қаралды 675 М.
Angular Tutorial - 13 - ngSwitch Directive
2:38
Codevolution
Рет қаралды 300 М.