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?
@Codevolution6 жыл бұрын
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
@idlevandal696 жыл бұрын
Has the video been updated? He is importing EventEmitter from @angular/core at 5:50
@johan_maximus6 жыл бұрын
You saved my life (Y)
@vatsalshah65056 жыл бұрын
should have show multiple value passing. just a suggestion.
@endrefidje56985 жыл бұрын
Will there be an updated version of these Angular tutorials based on Angular 7? Seems to be a few things "broken" now.
@Skaxarrat6 жыл бұрын
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.
@SoumilShah5 жыл бұрын
I have learned more from your videos than Udemy course Good luck Great Job !!!
@nellyville86575 жыл бұрын
Plz did you succed with the Output Event. It does'nt work with me
@fuzailraashid30414 жыл бұрын
Very tricky topic...yet explained in a way as a child's play..hats off to you.
@피누-s6k3 жыл бұрын
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;
@ashleymutenha50933 жыл бұрын
Thanks it helped was stuck for an hour
@senthamarai_kannan.3 жыл бұрын
It is not working for me.
@senthamarai_kannan.3 жыл бұрын
thanks a lot
@juliahmwangi11462 жыл бұрын
Or @Input() public parentData =" " This worked for me
@aswinuthaman65102 жыл бұрын
thanks bro
@subramanyamchapala73625 жыл бұрын
sir your teaching skills are legendary. Very understandable lecture. thank u .
@devinosborne33963 жыл бұрын
It's Unfair how good these explanations are of Angular.
@shreeameybro2714 Жыл бұрын
Learnt the basics within roughly in 3 days thank you sir !!
@bholarai63485 жыл бұрын
Wonderfully explained, with simplest possible example, thanks
@kaushikpower4 жыл бұрын
Your explanation is so simple yet powerful.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
@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.
@lifeislove97506 жыл бұрын
Your way for teaching is really really awesome. 👌👌👌
@VolodymyrM_UA3 жыл бұрын
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.
@betterahyosi2 жыл бұрын
Yes I also stuck here
@gwynethpena53054 жыл бұрын
your teaching skills is superb!
@shadow_32135 жыл бұрын
Thank you from my heart for your helpfull videos Vishwas !!!
@eriksenp6 жыл бұрын
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?
@HIghtowerSever4 жыл бұрын
Extremely understandable explanation! Thanks a lot.
@AbhishekKumar-sf6no5 жыл бұрын
woah bro! keep it up....... no ads and best content! such passion and hard work i salute you bro. and may god bless u....
@vzsshadow31416 жыл бұрын
Thank you very much this video, i am very noob in angular but this was perfectly clear explanation
@abhishekmungekar88995 жыл бұрын
I am facing an error @Output childData not initialized in 'TestComponent'. using angular 7
@Praneethyerireddi12343 жыл бұрын
Very simple upto the point video brother. Great ...
@shilpasoni46094 жыл бұрын
Thank you! this series is really helpful and easy to understand for beginners.
@kidoo15676 ай бұрын
Data transfer between parents and child components are using @input and @output decorator
@sagar89645 жыл бұрын
you are an amazing teacher...!
@manwinsingh73812 жыл бұрын
so far soooo good. Really a great course on angular
@Gyanitheking4 жыл бұрын
Sir, You simplify even the hardest of things. Thanks for putting up these videos
@ABsazerNer4 жыл бұрын
You tutorials are always the best, cause you always teach with examples, keep up 👍
@chagantisubhash6 жыл бұрын
Awesome, considering donating to encourage your work!! Thanks alot.
@hariharannagarajan67394 жыл бұрын
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.
@archanakurup61584 жыл бұрын
@Input() parentData; in App test.Import @Input from Angular/core
@nr73434 жыл бұрын
your explanetoins is very clear!!! good
@kp000026 жыл бұрын
Great Angular Video collections ! Keep it up.
@gtrj55tgjr5 жыл бұрын
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
@imhappynow84715 жыл бұрын
finally someone explains it well
@arnabmondal55966 жыл бұрын
Can we pass an object to the parent thru event and assign it to a property in parent component?
@inascharan2 жыл бұрын
thank you sir, now i am more confused then earlier! [just-joking!!] it was easier now, but you taught so smooth.
@tom179365484 жыл бұрын
Very clear explanation👍
@Johny-y7w3 ай бұрын
Thanks you sir! Great explanation
@vijaykarumuri76176 жыл бұрын
Great Sir, Keep it up........
@VIjayKumartheh2o5 жыл бұрын
Why the childEvent property is enclosed with (childEvent) while send the data from Child component to parent component??
@ahmedabdelaziz44255 жыл бұрын
I like you angular tutorials, its very easy to understand and apply
@zakkanderson8176 жыл бұрын
donation done! amazing work! keep going
@Codevolution6 жыл бұрын
Thanks a lot man :)
@princeprabhu44 Жыл бұрын
Very good explanation
@satepestage35992 жыл бұрын
Thanks bro. You explain things very well
@Thanveershah6 жыл бұрын
Open a Patreon or something , So we can actually donate money for your Amazing work
@rexsam31343 жыл бұрын
Do you have any videos on communication between 2 child components?
@barezazad28305 жыл бұрын
thank u mr vishvas , you very help me ..................
@orl1231244 жыл бұрын
great job bro I've learned a lot with your video
@manosubburaj29016 жыл бұрын
Great channel to learn new technologies. Your way of telling is superb. Cngrtz
@kshBCN6 жыл бұрын
You are awesome. Thanks Vishwas
@umairali23606 жыл бұрын
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
@kumark6916 жыл бұрын
Add test component in app.module.ts
@TeluguCartoonist6 жыл бұрын
same error bro how to solve
@umairali23606 жыл бұрын
@@TeluguCartoonist dear my error was in view. and now i did not remember exactly how i solve it, because i am working on laravel
@eyotajr6 жыл бұрын
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?
@Hasansaid514 жыл бұрын
what if my parent component has How would i lift up an event from child to parent?
@gomathirr20624 жыл бұрын
perfect explanation !!! thank you so much !!!
@santoshbhat38686 жыл бұрын
Lovely Tutorial
@ankitagupta62323 жыл бұрын
can we send multiple data from child to app component or vice-versa?
@8Kexperience5 жыл бұрын
awesome work, thank you!
@mahibeats6070 Жыл бұрын
Thanks 👍 nice explanation
@polsanisandeep17065 жыл бұрын
Bro nice tutorials Thank You.
@gnaresh23485 жыл бұрын
Addicted to your videos
@manjunathkannur22074 жыл бұрын
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..
@mdfarooq975 жыл бұрын
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?
@naveenm2835 жыл бұрын
yup I am stuck in the same situation
@kishanlal6764 жыл бұрын
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.
@imrohan973 жыл бұрын
can we use name of property different from parentData in app-component template?
@syawalnazir46766 жыл бұрын
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 Жыл бұрын
.ts file because we are sending value to properly declared in component class of parent
@SameerKhan-ls9ow3 жыл бұрын
I am subscribing you GOD bless you 💖
@posamahendra81245 жыл бұрын
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.
@rajeshpeyala36895 жыл бұрын
Very nice video. Thank you
@zaldi197 жыл бұрын
Can we do the same using service?
@lifeislove97506 жыл бұрын
Anybody can explain me that what is the use of fireEvent at 6:35
@love2shareconcepts2004 жыл бұрын
There is button Send event and on click of this button fireevent function get called which sends event to parent component.
@Iamshivpandey5 жыл бұрын
but if parent component use router-outlet for render child components then how to share data to child?
@karthick88105 жыл бұрын
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???
@akshaynitin55894 жыл бұрын
for parent to child ur passing single variable content. how could i use all declared variable in parent to child component.
@sravaninallabelli12513 жыл бұрын
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
@nikhleshtaneja36155 жыл бұрын
from chhild cumponent ttho the ppharent khumponent ? :D
@ماياالقدور4 жыл бұрын
I wish you posted pdf of information you teach it in these video (series) please ......
@JV-vp5vl5 жыл бұрын
Hi, nice tutorial! Are parameters passed by value or by reference when interacting between components, and also when calling functions in the same component?
@mosamprajapati35156 жыл бұрын
Very helpful for learning angular
@rohansharma49716 жыл бұрын
hi, i don't understand the part that how does $event refers to 'hey codevolution' ..
@optiwariindia4 жыл бұрын
is it possible to bind two way here
@skilljourney63575 жыл бұрын
Thank you for the beautiful explanation
@deepumon.d31485 жыл бұрын
Nice explanation.
@SowmiyaChandrasekar144 жыл бұрын
Can u post some videos for spring tutorials
@Neworldexport5 жыл бұрын
I love the way u explain, thanks a lot
@vikassrinivas72485 жыл бұрын
What if we use in app.component.html and there is no selector? How can I pass the data then?
@nellyville86575 жыл бұрын
Plz how did you do with the Output EventEmitter, it doesn't work with me !
@nellyville86575 жыл бұрын
Plz did you succed with the Output Event. It does'nt work with me
@rutujagurav4664 жыл бұрын
Awesome tutorial
@kleelof5 жыл бұрын
Good videos. One note. The proper name for '$' is 'string', not 'dollar'.
@muralicse36374 жыл бұрын
I have a one doubt bro... if I use routing method then how I can interact with other components?
@SSR29024 жыл бұрын
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?
@UdayNand7 Жыл бұрын
what if we want to send method from parent to child
@varuns64517 жыл бұрын
Hi, nice work dude... how to pass multiple datas between components
@a_rob6 жыл бұрын
multiple events
@dincarobert89376 жыл бұрын
make a service or obj{name: 'book'}
@keerthid41753 жыл бұрын
nicely explained
@krishnachaitanya73495 жыл бұрын
how many types of Angular Design patterns are there? Name them
@veerendrareddyB5 жыл бұрын
My folder stucture is: app/applicant/applicant-portal As adding child componenet adding in app.component.html I am accessing this url: localhost:4200/applicant I have written in app.routing as: const routes: Routes = [ { path: 'applicant', component: ApplicantPortalComponent } ] so, because of in app.component.html child component content displaying two times in child component page. What I want is .. I need to call function in appcomponent from child component. Can you please help thanks in advance
@kacpersarzynski49153 жыл бұрын
super tutorial!
@babu-vp3fp3 жыл бұрын
thanks love from india
@digamber_r76 жыл бұрын
Thanks for the tutorial! Awesome Job :)
@syedzishan36766 жыл бұрын
there seems to be some problem exporting data from from child to parent in angular 6 .. EventEmitter is now in 'events' and when i pass data from child to parent following ur tutorial it gives following warnig ERROR TypeError: instance[output.propName].subscribe is not a function i m in the middle so eagerly waiting for ur reply thanks in advance
@Codevolution6 жыл бұрын
Please read the pinned comment now. There is a small change in the imports from version 5 to 6.
@ZhassT6 жыл бұрын
thank you! very understandable
@harshadtibile51164 жыл бұрын
we want subject concet..can you please upload this concept as possibile as fast