ngx-avatar-fork
Version:
A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.
19 lines (18 loc) • 429 B
TypeScript
import { AvatarSource } from './sources/avatar-source.enum';
/**
* Represents avatar configuration object.
*/
export interface NgxAvatarConfig {
/**
* The avatars colors.
*/
colors?: string[];
/**
* The order in which the avatar sources will be used.
*/
sourcePriorityOrder?: AvatarSource[];
/**
* Avatar services request cache lifetime.
*/
cacheLifetimeSecond?: number;
}