- 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.
- Intel FPGA/CPLD設(shè)計(jì)(基礎(chǔ)篇)
- 觸摸屏實(shí)用技術(shù)與工程應(yīng)用
- 電腦常見(jiàn)故障現(xiàn)場(chǎng)處理
- 電腦維護(hù)365問(wèn)
- Learning Game Physics with Bullet Physics and OpenGL
- Mastering Adobe Photoshop Elements
- VMware Workstation:No Experience Necessary
- Spring Security 3.x Cookbook
- Building Machine Learning Systems with Python
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程(Windows 7+Office 2010)
- PIC系列單片機(jī)的流碼編程
- 電腦組裝與硬件維修從入門(mén)到精通
- Hands-On Unsupervised Learning with Python
- 電腦組裝與硬件維修入門(mén)與提高
- 電腦組裝與硬件維修從新手到高手