ngx-avatar
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) • 378 B
TypeScript
import { Source } from './source';
import { AvatarSource } from './avatar-source.enum';
/**
* Factory class that implements factory method pattern.
* Used to create Source implementation class based
* on the source Type
*/
export declare class SourceFactory {
private sources;
constructor();
newInstance(sourceType: AvatarSource, sourceValue: string): Source;
}