随笔分类 -  angularjs

脏值检查
摘要:脏值检查,通过digest遍历所有的watcher,最终得到统一的数据,再更新view。 脏值检查Change Detection 内部的一个非常重要的阶段——digest阶段, 当系统进入此阶段时,将会进行数据检查, 它的处理流程如下: 如果值发生改变, 运行绑定的监听器 - watcher.fn 阅读全文

posted @ 2018-03-20 14:18 蓝色的云

angular2和typescript 和npm
摘要:angular2需要用到typescript 和 npm 1. angular2 git 地址 https://github.com/mgechev/switching-to-angular2.git 下载项目 到本地文件夹switching-to-angular2 2. cd switching- 阅读全文

posted @ 2018-03-20 13:55 蓝色的云

angular2基础构件
摘要:组件component 模块注入 管道pipe 指令directive 模块注入 管道pipe 指令directive Differ差异比较器来优化Change Detection脏值检查 阅读全文

posted @ 2016-12-13 13:06 蓝色的云

脏值检查
只有注册用户登录后才能阅读该文。

posted @ 2016-12-13 13:03 蓝色的云

导航