Lottie Animation Component
Lottie Animation Wrapper Component for Angular 7 or higher. no ionic support.
(Originally forked from: fivethree-team/lottie, this fork is independent and can't get updated in front of forked origin )
📦 Installation
TBD as ng add soon npm i @sentinel-one/s1-lottie lottie-web --save
🔨 Usage
Import the module into your root application module:
;;
🦁 Animation
Add the lottie component to your template:
You need to setup the lottieParams
in your component:
;;; Component
Save your lottie files in the assets folder and change the path
param, this way they are copied when building your application.
Internal: build and publish to npm:
- To build before publishing run:
npm run build:prod:plugin
- publish from dist/@sentinel-one/lottie (
npm publish --access public
)