October 2018
Beginner to intermediate
478 pages
10h 8m
English
The @Input decorator is used when a component is supposed to receive data passed down from its parent. When a field or property is set as input, the parent can specify the value via standard assignment.
Let's use input in the category menu-related components:
export interface Category { name: string;}
export * from './category';
import { Component, Input ...Read now
Unlock full access