theme-lib
Version:
This is a simple example Angular Library published to npm.
47 lines (46 loc) • 1.68 kB
TypeScript
import { ElementRef, QueryList, AfterViewInit } from '@angular/core';
import { NbChatMessageComponent } from './chat-message.component';
export declare class NbChatComponent implements AfterViewInit {
static readonly SIZE_XXSMALL = "xxsmall";
static readonly SIZE_XSMALL = "xsmall";
static readonly SIZE_SMALL = "small";
static readonly SIZE_MEDIUM = "medium";
static readonly SIZE_LARGE = "large";
static readonly SIZE_XLARGE = "xlarge";
static readonly SIZE_XXLARGE = "xxlarge";
static readonly STATUS_ACTIVE = "active";
static readonly STATUS_DISABLED = "disabled";
static readonly STATUS_PRIMARY = "primary";
static readonly STATUS_INFO = "info";
static readonly STATUS_SUCCESS = "success";
static readonly STATUS_WARNING = "warning";
static readonly STATUS_DANGER = "danger";
size: string;
status: string;
accent: string;
scrollBottom: boolean;
title: string;
readonly xxsmall: boolean;
readonly xsmall: boolean;
readonly small: boolean;
readonly medium: boolean;
readonly large: boolean;
readonly xlarge: boolean;
readonly xxlarge: boolean;
readonly active: boolean;
readonly disabled: boolean;
readonly primary: boolean;
readonly info: boolean;
readonly success: boolean;
readonly warning: boolean;
readonly danger: boolean;
readonly hasAccent: string;
private setSize;
private setStatus;
private setScrollBottom;
scrollable: ElementRef;
messages: QueryList<NbChatMessageComponent>;
ngAfterViewInit(): void;
updateView(): void;
scrollListBottom(): void;
}