Angular 1.2 数据集绑定与点击事件

    组件:css         (1).数据集绑定。html          1.咱们先新建mock-heroes.ts 来模拟数据源,用来绑定页面显示。函数                       2.而后咱们回到heroes.component.ts 对模拟数据进行引用。code                      3.在heroes.component.html 绑定并显示
相关文章
相关标签/搜索