ngx-lottie
Version:
<table> <thead> <tr> <th>ngx-lottie</th> <th>Angular</th> </tr> </thead> <tbody> <tr> <td> 7.x </td> <td> >= 8 < 13 </td> </tr> <tr> <td> 8.x </td> <td> 13 </td> </tr> <tr> <td> 9.x </td> <td> 14 </td> </tr> <tr> <td> 10.x </td> <td> 15 </td> </tr> <tr> <
11 lines (10 loc) • 330 B
TypeScript
import { InjectionToken } from '@angular/core';
export interface LottieServerOptions {
preloadAnimations: {
folder: string;
animations: string[];
};
}
export type PathToAnimation = string;
export type AnimationData = string;
export declare const LOTTIE_SERVER_OPTIONS: InjectionToken<LottieServerOptions>;