Question · Angular course · Module 1: Introduction to Angular

Data flow

With which decorator do we pass data down from a parent component to a child?

Answer options

  • @Output()
  • @Inject()
  • @Input()
  • @ViewChild()
Show the answer

Correct answer:

  • @Input()