ngx-avatar-letters
Version:
Angular component to generate avatar initials with configurable styles.
14 lines (13 loc) • 648 B
TypeScript
import { AvatarConfig } from './ngx-avatar-letters.interface';
import * as i0 from "@angular/core";
export declare class NgxAvatarLettersComponent {
config: AvatarConfig;
initials: string;
finalConfig: Required<AvatarConfig>;
readonly DEFAULTS: Partial<AvatarConfig>;
ngOnInit(): void;
getInitials(name: string): string;
getRandomColor(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxAvatarLettersComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxAvatarLettersComponent, "ngx-avatar-letters", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
}