angularjs2 三
来源:互联网 发布:mac怎么文件夹压缩 编辑:程序博客网 时间:2024/05/01 16:56
import {Component} from 'angular2/core';import {HeroDetailComponent} from './hero-detail';@Component({ selector: 'appTest', template: ` <h4>下面是另一个component内容</h4> <my-hero-detail></my-hero-detail> <h4>上面是另一个component内容</h4> `, directives: [HeroDetailComponent]})export class App {}
import {Component} from 'angular2/core';@Component({ selector: 'my-hero-detail', template: ` <div>廖建国</div> `,})export class HeroDetailComponent {}
0 0
- angularjs2 三
- AngularJS2
- Angularjs2
- angularjs2
- 跟着angularjs2官方文档学习(三)
- angularjs2 listview的封装(三)
- angularjs2 一
- angularjs2 二
- angularjs2 四
- angularjs2 五
- angularjs2 六
- angularjs2 七
- angularjs2 八
- angularjs2 九
- angularjs2 十
- angularjs2 指令
- angularjs2 表单
- AngularJS2 架构
- 第二周项目1-C/C++语言中函数参数传递的三种方式
- 物位传感器
- 第二周项目1 c++语言中函数参数传递的三种方式
- dubbo admin 本地搭建
- HTML标签元素属性的概念
- angularjs2 三
- 世界反兴奋剂组织频遭攻击,俄罗斯黑客再躺枪
- Github windows客户端简单使用教程
- 第二周项目2--程序的多文件组织
- 超声波传感
- 架构设计:生产者/消费者模式 第4页:注意事项
- IO模型(select, poll, epoll的区别和原理)
- javascript内置对象--------FileStystemObject对象
- 第2周项目2-程序的多文件组织