theme-lib
Version:
This is a simple example Angular Library published to npm.
35 lines (34 loc) • 1.03 kB
TypeScript
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
export declare class NbUserComponent {
private domSanitizer;
static readonly SIZE_SMALL = "small";
static readonly SIZE_MEDIUM = "medium";
static readonly SIZE_LARGE = "large";
static readonly SIZE_XLARGE = "xlarge";
private sizeValue;
inverseValue: boolean;
readonly small: boolean;
readonly medium: boolean;
readonly large: boolean;
readonly xlarge: boolean;
name: string;
title: string;
picture: string;
color: string;
size: string;
showName: boolean;
showTitle: boolean;
showInitials: boolean;
onlyPicture: boolean;
inverse: boolean;
badgeText: string;
badgeStatus: string;
badgePosition: string;
imageBackgroundStyle: SafeStyle;
showNameValue: boolean;
showTitleValue: boolean;
showInitialsValue: boolean;
isMenuShown: boolean;
constructor(domSanitizer: DomSanitizer);
getInitials(): string;
}