📜  角度组件之间的通信 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:21.583000             🧑  作者: Mango

代码示例1
3 ways to communicate data between Angular components
Parent to Child: Sharing Data via Input
Child to Parent: Sharing Data via ViewChild with AfterViewInit
Child to Parent: Sharing Data via Output() and EventEmitter