@springernature/global-loader-animation
v2.0.1
Published
Loader animation to show when making requests
Downloads
3,273
Maintainers
Keywords
Readme
Global loader animation
Show a loading animation for async stuff, like requests etc
// Include this with your other components
@import '@springernature/global-loader-animation/scss/10-settings/default';
@import '@springernature/global-loader-animation/scss/50-components/loader';
Basic usage
import CssLoader from '@springernature/global-loader-animation/js';
const loader = new CssLoader();
// Show loader animation
loader.add();
// Remove loader animation
loader.remove();