摘要: custom form control 之前就写过了,这里简单写一下. 创建一个组件实现 ControlValueAccessor 接口 实现 writeValue, model -> view 的时候被调用的,这里实现如何更新 view. 如果时 OnPush 记得要 markForCheck 实 阅读全文
posted @ 2019-11-27 14:23 兴杰 阅读(494) 评论(0) 推荐(0)