ngx-skeleton-loader
Version:
Make beautiful, animated loading skeletons that automatically adapt to your Angular apps
15 lines (14 loc) • 531 B
TypeScript
import { InjectionToken } from '@angular/core';
export type NgxSkeletonLoaderConfigTheme = {
extendsFromRoot?: boolean;
[k: string]: any;
} | null;
export interface NgxSkeletonLoaderConfig {
appearance: 'circle' | 'line' | 'custom-content' | '';
animation: 'progress' | 'progress-dark' | 'pulse' | 'false' | false;
theme: NgxSkeletonLoaderConfigTheme;
loadingText: string;
count: number;
ariaLabel: string;
}
export declare const NGX_SKELETON_LOADER_CONFIG: InjectionToken<NgxSkeletonLoaderConfig>;