Angular Animation
  • Introduction
  • Getting Started
    • Add Angular Animate
  • Animating Core Directives
    • CSS Transition
    • ng-class Add/Remove
    • ng-include Animation
    • ng-repeat Animation
    • ng-show/ng-hide Animation
    • Form Animation
    • ngMessages Animation
  • Animating Custom Directives
Powered by GitBook
On this page

Was this helpful?

  1. Animating Core Directives

ng-show/ng-hide Animation

Element being Shown .ng-hide-remove applied

.ng-hide-remove{
    transition: background 1s;
    background: green;
}

.ng-hide-remove-active{
    background: yellow;
}

Element being hidden .ng-hide-remove applied

.ng-hide-add{
    transition: background 1s;
    background: yellow;
}

.ng-hide-add-active{
    background: green;
}
Previousng-repeat AnimationNextForm Animation

Last updated 5 years ago

Was this helpful?