

Lesson 06 · 11 min
Input and Output
Down — @Input. Up — @Output with an EventEmitter. Like props and a callback.
11 minLesson 6 of 8Practice includedAsk AI on any point
The parent writes <app-card [user]="current" (saved)="reload()" />. In the child: @Input() user and @Output() saved = new EventEmitter<void>(). Data doesn't flow up by writing into an input. To tell the parent something — this.saved.emit().
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.