UNPKG

ngx-lottie

Version:

<h1 align="center"> <img src="https://raw.githubusercontent.com/ngx-lottie/ngx-lottie/master/docs/assets/lottie.gif"> </h1>

20 lines 588 B
import { NgModule } from '@angular/core'; import { AnimationLoader } from '../animation-loader'; import { CacheableAnimationLoader } from './cacheable-animation-loader'; export class LottieCacheModule { static forRoot() { return { ngModule: LottieCacheModule, providers: [ { provide: AnimationLoader, useClass: CacheableAnimationLoader, }, ], }; } } LottieCacheModule.decorators = [ { type: NgModule } ]; //# sourceMappingURL=lottie-cache.module.js.map