UNPKG

ngx-avatars

Version:

A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.

14 lines (13 loc) 381 B
import { Source } from './source'; import { AvatarSource } from './avatar-source.enum'; /** * Gravatar source implementation. * Fetch avatar source based on gravatar email */ export declare class Gravatar implements Source { value: string; readonly sourceType: AvatarSource; sourceId: string; constructor(value: string); getAvatar(size: number): string; }