摘要: 组件双向绑定的本质就是属性绑定加事件绑定,在引发绑定事件的时候改变属性值。举个例子: // 子组件 import { Component, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'app- 阅读全文
posted @ 2021-03-30 22:49 文燚 阅读(1068) 评论(0) 推荐(0)