Stock animations for Angular.
Use NPM to grab the repo
npm install mfdc-animations
Add the main CSS library somewhere in your HTML:
A demo is also available. To use this follow the instructions in the demo directory.
This library is intended to be separated into atomic CSS components. To use combine one optional primary effect, one optional reflow and any number of modifiers.
||The base animation class. This must be present on any item that will animate|
||Apply a simple fade in / out effect|
||Apply a fade-in and fly-in effect from the specified direction. Direction can be:
||Shake the element as it appears / disappears|
||Resize the elements width while animating|
||Resize the elements height while animating. This is ideal for vertical lists or use within tables|
||Scale the entire element while animating. This class is recommended for reflow as it is GPU accelerated|
|Modifier / Delay||
||Modify the animation start time. Time can be:
|Modifier / Duration||
||Modify the animation time. Time can be:
|Modifier / Easing||
||Modify the animation easing. Ease can be:
|Modifier / Repeat||
||Modify how many times the animation will loop. Repeat can be:
ng-repeatitems need to have a
track byor an entire copy of the DOM tree is copied after the current node. Basically if your list appears to not remove items from the middle - you're missing a