摘要: 1. 父组件向子组件传递信息 使用 子组件的属性用 进行修饰,在父组件的模板中绑定变量 例子: import { Component, OnInit, Input } from '@angular/core'; @Component({ selector: 'my input', template: 阅读全文
posted @ 2016-12-22 20:26 不如隐茶去 阅读(3830) 评论(0) 推荐(1) 编辑