npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@momsfriendlydevco/animate

v0.0.5

Published

Stock animations for Angular

Downloads

17

Readme

mfdc-animate

Stock animations for Angular.

Demo.

Installation

  1. Use NPM to grab the repo

    npm install mfdc-animations

  2. Add the main CSS library somewhere in your HTML:

A demo is also available. To use this follow the instructions in the demo directory.

Usage

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.

| Type | Class | Description | |---------------------|-------------------------|--------------------------------------------------------------------------------------------------------------------| | Base | animate | The base animation class. This must be present on any item that will animate | | Primary Effect | animate-fade | Apply a simple fade in / out effect | | | animate-fly-DIRECTION | Apply a fade-in and fly-in effect from the specified direction. Direction can be: up, down, left, right | | | animate-shake | Shake the element as it appears / disappears | | Reflow | animate-reflow-width | Resize the elements width while animating | | | animate-reflow-height | Resize the elements height while animating. This is ideal for vertical lists or use within tables | | | animate-reflow-scale | Scale the entire element while animating. This class is recommended for reflow as it is GPU accelerated | | Modifier / Delay | animate-delay-TIME | Modify the animation start time. Time can be: 0ms (default), 10ms, 20ms, 30ms, 40ms, 50ms, 100ms, 200ms, 500ms, 1s, 2s, 5s, 10s, 20s, 30s | | Modifier / Duration | animate-duration-TIME | Modify the animation time. Time can be: 10ms, 20ms, 30ms, 40ms, 50ms, 100ms, 200ms, 500ms (default), 1s, 2s, 5s, 10s, 20s, 30s | | Modifier / Easing | animate-easing-EASE | Modify the animation easing. Ease can be: linear, ease, ease-in, ease-out (default), ease-in-out | | Modifier / Repeat | animate-repeat-REPEAT | Modify how many times the animation will loop. Repeat can be: loop, 1 (default), 2, 3, 4, 5 |

Common Gotchas

  • ng-repeat items need to have a track by or 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 track by clause.