📜  事件发射器在 Angular 中做了什么 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:07.451000             🧑  作者: Mango

代码示例2
Data flows into your component via property bindings and flows out of your component through event bindings. If you want your component to notify his parent about something you can use the Output decorator with EventEmitter to create a custom event.