@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension.
19 lines (18 loc) • 524 B
TypeScript
import { ViewContainerRef, OnInit, NgZone } from '@angular/core';
export interface ILetterAvatarScope {
dataURI: string;
}
export declare class LetterAvatar implements OnInit {
private viewContainer;
private ngZone;
name: string;
size: number;
color: string;
scope: ILetterAvatarScope;
constructor(viewContainer: ViewContainerRef, ngZone: NgZone);
ngOnInit(): void;
private init;
private getInitials;
private getInitial;
private startWithAlphanumeric;
}