ngx-avatar-fork
Version:
A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.
13 lines (12 loc) • 626 B
TypeScript
import { NgxAvatarConfig } from './ngx-avatar-config';
import { AvatarSource } from './sources/avatar-source.enum';
import * as i0 from "@angular/core";
export declare class NgxAvatarConfigService {
userConfig: NgxAvatarConfig;
constructor(userConfig: NgxAvatarConfig);
getAvatarSources(defaultSources: AvatarSource[]): AvatarSource[];
getAvatarColors(defaultColors: string[]): string[];
getCacheLifetime(defaultLifetime: number): number;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxAvatarConfigService, [{ optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgxAvatarConfigService>;
}