ngx-lottie
Version:
<h1 align="center"> <img src="https://raw.githubusercontent.com/ngx-lottie/ngx-lottie/master/docs/assets/lottie.gif"> </h1>
13 lines (12 loc) • 791 B
TypeScript
import { NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { LottiePlayer, LottieOptions, AnimationItem, AnimationOptions, AnimationConfigWithData, AnimationConfigWithPath } from './symbols';
export declare class AnimationLoader {
private ngZone;
private options;
protected player$: Observable<import("lottie-web").LottiePlayer>;
constructor(ngZone: NgZone, options: LottieOptions);
loadAnimation(options: AnimationConfigWithData | AnimationConfigWithPath): Observable<AnimationItem>;
resolveOptions(options: AnimationOptions | null, container: HTMLElement): AnimationConfigWithData | AnimationConfigWithPath;
protected createAnimationItem(player: LottiePlayer, options: AnimationConfigWithData | AnimationConfigWithPath): AnimationItem;
}