From fb82ee9e8f32ef0616214680897d9db9843e0171 Mon Sep 17 00:00:00 2001 From: Pablo Targa Date: Thu, 23 Feb 2017 09:55:31 +0000 Subject: [PATCH] docs(ngAnimate): Staggering config for animations After console.log the output from the computeCachedCssStaggerStyles function I realized that I need set animation-duration to 0s and animation-delay on my stagger class as I am using animations instead of transitions. --- src/ngAnimate/module.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ngAnimate/module.js b/src/ngAnimate/module.js index ee83e27c9772..2007b0718b20 100644 --- a/src/ngAnimate/module.js +++ b/src/ngAnimate/module.js @@ -177,6 +177,9 @@ * /* As of 1.4.4, this must always be set: it signals ngAnimate * to not accidentally inherit a delay property from another CSS class */ * transition-duration: 0s; + * /* if you are using animations instead of transitions you should configure as follows: + * animation-delay: 0.1s; + * animation-duration: 0s; */ * } * .my-animation.ng-enter.ng-enter-active { * /* standard transition styles */