UNPKG

ng-hub-ui-avatar

Version:

A powerful, flexible, and standalone Angular avatar component that generates and fetches user avatars from multiple sources including social media, Gravatar, or custom images with intelligent fallback system

19 lines (18 loc) 432 B
import { AvatarSource } from './sources/avatar-source.enum'; /** * Represents avatar configuration object. */ export interface AvatarConfig { /** * The avatars colors. */ colors?: string[]; /** * The order in which the avatar sources will be used. */ sourcePriorityOrder?: AvatarSource[]; /** * Disable custom source (for custom images) cache. */ disableSrcCache?: boolean; }