- Learning AngularJS Animations
- Richard Keller
- 212字
- 2021-08-05 17:29:46
AngularJS – combining JavaScript and CSS3
AngularJS has adopted the standards for animation on the Web. It embraces CSS3 Transitions, animations, and JavaScript. It's great because the developers can choose the animation option that best fits their needs. As you have already read, sometimes, one option fits better than other, so this is a great feature of ngAnimate.
With the ngAnimate module, it is far easier to animate in AngularJS because it brings a code pattern and convention that is already integrated with AngularJS native directives. This allows us—the developers and the open source community—to have a quick start to animation and a pattern to develop our custom animations. In later chapters, we will see how to integrate custom directives with AngularJS animations using the $animate service, which is the main topic of Chapter 5, Custom Directives and the $animate Service.
This is all possible due to the class-bases approach that AngularJS uses. We will see more of this in Chapter 3, Creating Our First Animation in AngularJS, when we create our first AngularJS animation.
Another advantage is that it's easy to integrate CSS animation libraries such as animate.css
and Effeckt.css
, as these libraries use CSS3 transitions and animations.
Check out http://daneden.github.io/animate.css/ and http://h5bp.github.io/Effeckt.css/ for CSS animations libraries.
- 圖解西門子S7-200系列PLC入門
- 新型電腦主板關(guān)鍵電路維修圖冊
- FPGA從入門到精通(實戰(zhàn)篇)
- 基于Proteus和Keil的C51程序設(shè)計項目教程(第2版):理論、仿真、實踐相融合
- Deep Learning with PyTorch
- 現(xiàn)代辦公設(shè)備使用與維護
- 硬件產(chǎn)品經(jīng)理成長手記(全彩)
- Artificial Intelligence Business:How you can profit from AI
- 計算機組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機系列)
- Source SDK Game Development Essentials
- 新編電腦組裝與硬件維修從入門到精通
- 計算機電路基礎(chǔ)(第2版)
- 微服務(wù)實戰(zhàn)
- Instant Website Touch Integration
- 快·易·通:2天學(xué)會電腦組裝·系統(tǒng)安裝·日常維護與故障排除