拦截输入属性

@Input

@Output

Setter 拦截输入属性

ngOnChanges监听数据变化

通过局部变量实现数据交互

使用@ViewChild实现数据交互

你可能感兴趣的:(拦截输入属性)