I understand the video, just one question I got that is - From the child class, if you want to call a method on the parent class, why not just pass the function into the child as an @Input parameter, and then call it from the child like that? Is this way using @Output and emit in any way superior?
What if we want to pass multiple parameters from child to parent, instead of just one (as shown here - "name"). Will the $event catch all the parameters?
when you bind that "greetEvent" in the child selector, it will get triggered when you click that button, but where did you bind that click event to the custom event ?
(change) event only gets raised to input,select and text area elements when there is a change in element value by end user whereas (click) event raises with any element upon clicking the element.
use EventEmitter from angular core not from protactor ---> import { Component, OnInit, Input, OnChanges, SimpleChanges,EventEmitter, Output } from '@angular/core';
Crystal clear explanation. I have watched so many tutorials for this but no one explained in this way👍👍
Explained like butter 🤩
I can’t thank you enough 🙏🙏
All other tutorials out there, they over complicate things.
Great video! Struggled to understand this fully with the angular docs. This is so simple and clear i fully grasp now
Thank you ma'! Probably one and only logical explanation of the @Output!
the simplest explanation so far!! thank you!!!!
Thank you so much for this video. I was really struggling to understand. This video helped me. Keep up the good work :)
muje godi pe chadhna hai🥺
You deserve a salute man. I have watched many videos but your is crystal clear for me. Thankyou3000
Short and Clear. Thanks
You are gem!
Thank you for these videos.
I understand the video, just one question I got that is -
From the child class, if you want to call a method on the parent class, why not just pass the function into the child as an @Input parameter, and then call it from the child like that?
Is this way using @Output and emit in any way superior?
Crystal clear explaination!...thank you
Instead of if we use router outlet, will it work or we need to change the code?
i'm finding the way out
Thanks, fam. I appreciate your time and knowledge
Thank you for the to the point and clear explanation!!!!
Good explanation
Thanks, this video is awesome!
What if we want to pass multiple parameters from child to parent, instead of just one (as shown here - "name"). Will the $event catch all the parameters?
very clear explaination, Thank you
when you bind that "greetEvent" in the child selector, it will get triggered when you click that button, but where did you bind that click event to the custom event ?
Clear explanation 👍
The only part I don't understand is how the $event object becomes the 'name' string.
Could you please share a video on Microfront end.
Very useful playlist! The concepts in this playlist are simple yet so confusing. You made it very clear👍
Thanks for your work! keep making video.
Thank u so much
Thanks a lot for this example
Gr8 video and U have a gr8 voice. Thanks
thank you
Thank you for sharing your knowledge, My concept is clear now :)
Great explanation. Angular docs are worst . I mean look at the react docs. So lucid
Someone wants to make angular docs so confusing. Look at the tutorial in the official website, lots of bugs to keep us confusing
Best video.
Sir what if we get a case of sending more than one value
use a object {val:'abcd',
name:'def'}
Great video, helps a lot
I tried this with (change) event for h1 tag and didn't work, but when used (click) worked ??? why is that?
(change) event only gets raised to input,select and text area elements when there is a change in element value by end user whereas (click) event raises with any element upon clicking the element.
Hi, Team, I got this error :#!/usr/bin/env node | "use strict"; | Object.defineProperty(exports, "__esModule", { value: true });
please help me..!
use EventEmitter from angular core not from protactor ---> import { Component, OnInit, Input, OnChanges, SimpleChanges,EventEmitter, Output } from '@angular/core';
Thanks for post.
I've question about $event .... from where it come??
its a built in variable. You don't really need to understand it much
Great
I'm responsible for like half of your view.