Angular component communication
Text version of the video http://csharp-video-tutorials.blogspo... Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking. / @aarvikitchen5572 Slides http://csharp-video-tutorials.blogspo... Angular CRUD Tutorial • Angular CRUD tutorial Angular CRUD Tutorial Text Articles & Slides http://csharp-video-tutorials.blogspo... All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenka... All Dot Net and SQL Server Tutorials in Arabic / kudvenkatarabic In this video we will discuss, how to pass data from child component to parent component. Component Input Property 1. In Part 33 of Angular CRUD tutorial we discussed how to pass data from parent component to child component. 2. To pass data from parent component to child component we use input properties. 3. In the child component we create a property with @Input decorator. 4. The parent component then binds to the child component's input property. Component Output Property 1. On the other hand, to pass data from child component to parent component we use output properties. 2. The child component raises an event to pass data to the parent component. 3. To create and raise an event, we use EventEmitter object. 4. So the output property is an event defined using EventEmitter object and decorated with @Output decorator. 5. To specify the type of data that we want to pass from the child component to parent component we use the EventEmitter generic argument. In the example below, the notify event is used to pass string data from the child component to parent component. This event data is commonly called event payload. @Output() notify: EventEmitter<string> = new EventEmitter<string>(); If you want to pass a number instead of a string as event data, then you specify the generic argument type as number instead of string. @Output() notify: EventEmitter<number> = new EventEmitter<number>(); If you want to be able to pass any type of data, you can use 'any' as the generic argument type. @Output() notify: EventEmitter<any> = new EventEmitter<any>(); You can only pass one value using EventEmitter. If you want to pass more than one value using EventEmitter use a custom type like Employee as the generic argument. @Output() notify: EventEmitter<Employee> = new EventEmitter<Employee>(); You can get complete code in text format from our blog post at the following link http://csharp-video-tutorials.blogspo...

Call child component methods and properties using template reference variable

RxJS Tutorial for Beginners: Master Reactive Programming (Lesson 1)

@ViewChild/@ViewChildren in Angular (Tutorial 35)

Why Aliens Would NEVER Invade Africa

Regular Expressions (Regex) - Visually Explained

Ex-Google Recruiter Explains Why "Lying" Gets You Hired

Angular Authentication interview question

Angular property setter vs ngonchanges

Angular route guards

The French Do Not Care About Work

In 2007, Elon Musk Predicted Everything (Rare Lost Interview)

Unbelievable Smart Worker & Hilarious Fails | Construction Compilation #7 #adamrose #smartworkers

Angular Routing Essentials: All You Need to Know in One Video!

My Golden Retriever Heals a Terrified Rescue Kitten in Just 3 Meetings!

JSON in Python - Visually Explained

Warum die Sperre von Claude Fable vorhersehbar war

Angular Tutorial for Beginners | Learn Angular Step by step | Angular Tutorial

Something is jamming GPS over Europe. Here's what we found

Angular Components | Angular Tutorial For Beginners | Angular Components Explained | Simplilearn

