更新时间:2021-08-05 17:29:56
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started
The definition of animation and the web context
The need for AngularJS animation
Choosing when to use JavaScript for animations
AngularJS – combining JavaScript and CSS3
Do it yourself exercises
Summary
Chapter 2. Understanding CSS3 Transitions and Animations
CSS3 transitions
CSS3 keyframe animations
CSS3 transforms
Exercise
Chapter 3. Creating Our First Animation in AngularJS
The ngAnimate module setup and usage
AngularJS directives with native support for animations
AngularJS animation with CSS transitions
AngularJS animation with CSS keyframe animations
The CSS naming convention
The ngMessage and ngMessages directive animations
The ngView directive animation
Chapter 4. JavaScript Animations in AngularJS
Creating AngularJS animation without CSS3
JavaScript animations as a fallback for CSS animations
Chapter 5. Custom Directives and the $animate Service
Triggering animations on custom directives
Animating the enter and leave events
Creating a custom directive animated with JavaScript
Exercises
Chapter 6. Animations for Mobile Devices
Enhance UX on mobile devices with animations
Transition between views
Mobile AngularJS frameworks
Chapter 7. Staggering Animations
Creating staggering animations
Creating staggering animations for other native directives
Create staggering animations for custom directives
Chapter 8. Animations' Performance Optimization
The display and the frame rate
Finding performance bottlenecks using Chrome DevTools
Measuring browser layers and Jank on Chrome
CSS styles in animations you should avoid
Index