Skip to content
MOTION LAB / Stable API

moveLeave

Learn more

Animate elements before Angular removes them. Wrap conditional content in movePresence so moveLeave can play while the view is still in the DOM.

Fade Up
Fades out while moving up

Controls Make it yours

fade-up
300ms
100ms2000ms
0ms
0ms1000ms
Easingease
demo.htmlhtml
<ng-container *movePresence="showCard()">
  <article
    moveLeave="fade-up"
    moveDuration="300ms"
    moveDelay="0ms"
    moveEasing="ease"
  >
    Leaving card
  </article>
</ng-container>