📅  最后修改于: 2022-03-11 15:01:43.711000             🧑  作者: Mango
@Input()
myProp: string;
// Output prop name must be Input prop name + 'Change'
// Use in your component to write an updated value back out to the parent
@Output()
myPropChange = new EventEmitter();