@iconic_code/animation-loader
v1.2.1
Published
This library was created by the Iconic Code team for The Iconic Collective
Readme
AnimationLoader
This library was created by the Iconic Code team for The Iconic Collective
Add Lottie Files
Add Lottie Files to your application by running: npm install --save @lottiefiles/lottie-player
Add JS file to angular.json
Add the required javascript file to angular.json as follows
"scripts": [ "./node_modules/@lottiefiles/lottie-player/dist/lottie-player.js" ]
Install Animation Loader
npm install @iconic_code/animation-loader
Add the library to app.module.ts
import { AnimationLoaderModule } from '@iconic_code/animation-loader';
@NgModule({ ... imports: [ AnimationLoaderModule ], ... })
Add markup to your HTML
<lib-animation-loader [LoadingText]="'Flying to your destination...'">
