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
14 lines (13 loc) • 364 B
TypeScript
import { Source } from './source';
import { AvatarSource } from './avatar-source.enum';
/**
* Custom source implementation (with no cache).
* return custom image as an avatar
*
*/
export declare class CustomNoCache implements Source {
sourceId: string;
readonly sourceType: AvatarSource;
constructor(sourceId: string);
getAvatar(): string;
}