0.0.2-c • Published 6 years ago

loading-animation v0.0.2-c

Weekly downloads
5
License
MS-PL
Repository
github
Last release
6 years ago

LoadingAnimation

LoadingAnimation is a very simple class that allows you to create your loading anims.

Simple using

const LoadingAnimation = require('loading-animation');
let anim = new LoadingAnimation('Text before'); // animation starts automatically
setTimeout(()=>{
    anim.stop('Ok');
}, 3000);

Using text-anim-text model and color

anim = new LoadingAnimation(['Text before', 'and text after'], 'green')