上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 468 下一页
摘要: With Angular scopes, you have access to a$destroyevent that can be used to watch $scope events. This is used for cleanup, and gives you a final opport... 阅读全文
posted @ 2014-11-29 06:54 Zhentiw 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: Hello Greensock! TweenMax.staggerTo() The start times of each animation are staggered by 0.5 seconds ... 阅读全文
posted @ 2014-11-28 00:20 Zhentiw 阅读(782) 评论(0) 推荐(0) 编辑
摘要: AngularJS animations and TweenLite make it really easy to create cool 3d effects in your application. Hello Greensock! ... 阅读全文
posted @ 2014-11-27 17:27 Zhentiw 阅读(659) 评论(0) 推荐(0) 编辑
摘要: There are situations where you might want to add additional methods toangular.module. This is easy to accomplish, and can be a handy technique. //F... 阅读全文
posted @ 2014-11-27 16:55 Zhentiw 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Annotation Order:It's considered good practice to dependency inject Angular's providers in before our own custom ones.Bad:// randomly ordered dependen... 阅读全文
posted @ 2014-11-25 17:11 Zhentiw 阅读(505) 评论(0) 推荐(0) 编辑
摘要: Module definitionsAngular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at al... 阅读全文
posted @ 2014-11-25 17:03 Zhentiw 阅读(302) 评论(0) 推荐(0) 编辑
摘要: ControllerAs:Use thecontrollerAssyntax always as it aids in nested scoping and controller instance reference.Bad: {{ someObject }}Good: {{ main.some... 阅读全文
posted @ 2014-11-25 16:40 Zhentiw 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Also read:http://www.cnblogs.com/Answer1215/p/3941966.htmlUsing ngAnimate://!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with th... 阅读全文
posted @ 2014-11-24 21:55 Zhentiw 阅读(497) 评论(0) 推荐(0) 编辑
摘要: Using for..of statement:function* greeting(){ console.log(`Generators are "lazy"`); yield "How"; console.log(`I'm not called until the second... 阅读全文
posted @ 2014-11-23 21:37 Zhentiw 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Generators in ECMAscript 6 are first-class coroutines that produce encapsulated suspended execution(暂停执行) contexts.Yield values and iterate over them ... 阅读全文
posted @ 2014-11-23 21:05 Zhentiw 阅读(368) 评论(0) 推荐(0) 编辑
上一页 1 ··· 450 451 452 453 454 455 456 457 458 ··· 468 下一页