Angular 1.1 建立组件,并进行数据绑定[单向,双向]

1.建立名为heroes的组件。css 运行命令:ng generate component heroeshtml 能够看到新的组件已经建立成功,heroes文件夹中,已有四个文件。app heroes.component.css  样式文件函数 heroes.component.html  页面文件单元测试 heroes.component.spec.ts  单元测试文件测试 heroes.co
相关文章
相关标签/搜索