Skip to main content

Component Communication: Input, Output, model() and Template Reference Variables

Learn Component Communication: Input, Output, model() and Template Reference Variables (Phase 3 · Components and Templates (Core), Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Parent to child: input • Data flows down via inputs. Modern Angular uses signal inputs: name = input<string>() , input.required<T>() , optional transform and alias . Read with name() . The older @Input() decorator still works. • Inputs are read-only inside the child; never mutate them. Derive values with computed() .

More lessons in Phase 3 · Components and Templates (Core)