Q. Which decorator is used to mark a class property as an input property to receive data from a parent component?
β
Correct Answer: (A)
@Input
Explanation: @Input decorator is used to receive data from a parent component.