随笔分类 - Angular
摘要:1. 组件Component示例 2. Component常用的几个选项 3. Component全部的选项 3.1 继承自@Directive装饰器的选项 3.2 @Component自己特有的选项 4. 自定义component 1. 组件Component示例 组件是由一个装饰器@Compon
阅读全文
摘要:1. Typescript 1.1 安装typescript 1.2 typescript的小例子 1.2.1 新建一个index.ts 1.2.2 编译ts成js 1.2.3 查看生成的index.js 1.2.4 运行javascript 1.3 typescript的一些特性 2. Angul
阅读全文