Це відео не доступне.
Перепрошуємо.

Angular Parent Child Communication - Pass Your Data Correctly

Поділитися
Вставка
  • Опубліковано 17 сер 2024
  • In this video you will learn how Angular input output parent and child components can communicate with each other. We are using input decorator and output decorator to describe Angular component communication. On the real example you will see how we can pass data from parent component to our child component and how thorough events child component can notify parent about some changes.
    🚨IMPORTANT:
    → Advanced Angular course: monsterlessons...
    → All my courses: monsterlessons...
    → Twitter: / monster_lessons
    🕛 TIMESTAMPS:
    0:00 Introduction
    4:40 Angular input decorator
    7:17 Angular output decorator
    15:38 Call to action
    📚 References:
    → Angular for beginners - Full Playlist: • Angular Course Online ...
    → Source code: github.com/mon...

КОМЕНТАРІ • 26

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  3 роки тому

    Watch next: Angular Type Definitions With Typescript Interfaces - ua-cam.com/video/II_6w5IcThg/v-deo.html

  • @mohammedmerajpasha418
    @mohammedmerajpasha418 7 місяців тому

    I was looking for a good angular resource to learn and luckily found your channel Thank you........

  • @gaetanlavit7330
    @gaetanlavit7330 10 місяців тому

    Thanks a lot, nice one again

  • @chrisb3902
    @chrisb3902 Рік тому

    Great video!

  • @serhiitachuk
    @serhiitachuk 4 роки тому

    Thanks! Very useful video

  • @llamamehoju
    @llamamehoju 2 роки тому

    Gracias !!

  • @SyahirahFaizal
    @SyahirahFaizal 2 роки тому

    Hi, i thought it's better to put the function in the child component rather than the parent component?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 роки тому +3

      Hi, it depends on what you want to achieve. Most often we want to do smart parents with business logic and dumb children without any logic.

  • @ahmedmk534
    @ahmedmk534 Рік тому

    is it possible to have the advanced course for free ? thanks

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Рік тому +2

      No as the point of advanced courses to sell them.

    • @yarishkumar
      @yarishkumar Рік тому

      @@MonsterlessonsAcademy it is good pace/speed. keep up the good job. thank you for sharing your valuable knowledge and time.

  • @fahadhafeez8086
    @fahadhafeez8086 3 роки тому

    Thank You. But I think you need to increase your speed a bit.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 роки тому +2

      I will try to improve it but as I'm not a native speaker it's the best what I can :)

    • @rostomnouisser4023
      @rostomnouisser4023 Рік тому +1

      do it like me in settings playback speed *2

  • @HoNow222
    @HoNow222 3 роки тому

    Why using vim tho?

  • @parasjoshi5509
    @parasjoshi5509 11 місяців тому

    No sound

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  11 місяців тому

      I hear it just fine.

    • @parasjoshi5509
      @parasjoshi5509 11 місяців тому

      @@MonsterlessonsAcademy there is no sound. I'm from india. Is this video audio restricted?.
      Can you create a new one. Thanks

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  11 місяців тому

      @@parasjoshi5509 Nothing is restricted. You are the first person who has problem with audio in my video so it looks like the problem is on your side.

  • @artem_zakharchuk
    @artem_zakharchuk 5 місяців тому

    user-list.component.ts
    Member 'users' implicitly has an 'any' type.
    if I create user.ts
    export type User = {
    id: string;
    name: string;
    age: number;
    }
    and change @Input at user-list.component.ts as below:
    @Input() users!: User[];
    everything works.
    But if I took away the exclamation mark then I received the message:
    Property 'users' has no initializer and is not definitely assigned in the constructor.
    What does it mean in case of @Input? We have to initiialize it somehow?