摘要: Pipes allow you to change data inside of templates without having to worry about changing it in the Controller. Creating a custom Pipe is as simple as... 阅读全文
posted @ 2015-10-28 03:47 Zhentiw 阅读(636) 评论(0) 推荐(0)
摘要: Style and View Encapsulation is best understood by seeing how each option (Emulated, Native, and None) compare to each other. Angular 2 QuickStart ... 阅读全文
posted @ 2015-10-28 03:30 Zhentiw 阅读(446) 评论(0) 推荐(0)
摘要: import {Input, Component, View, NgClass} from "angular2/angular2";@Component({ selector: 'todo-item-render'})@View({ directives: [NgClass], s... 阅读全文
posted @ 2015-10-28 03:18 Zhentiw 阅读(581) 评论(0) 推荐(0)