UNPKG

@nepwork/dashboards

Version:

Dashboards for emergencies and monitoring

99 lines (98 loc) 3.34 kB
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core'; import { NbToast } from './model'; import { NbIconConfig } from '../icon/icon.component'; /** * The `NbToastComponent` is responsible for rendering each toast with appropriate styles. * * @styles * * toastr-border-style: * toastr-border-width: * toastr-border-radius: * toastr-padding: * toastr-shadow: * toastr-text-font-family: * toastr-text-font-size: * toastr-text-font-weight: * toastr-text-line-height: * toastr-title-text-font-family: * toastr-title-text-font-size: * toastr-title-text-font-weight: * toastr-title-text-line-height: * toastr-basic-background-color: * toastr-basic-border-color: * toastr-basic-text-color: * toastr-icon-basic-background-color: * toastr-icon-basic-color: * toastr-destroyable-hover-basic-background-color: * toastr-destroyable-hover-basic-border-color: * toastr-primary-background-color: * toastr-primary-border-color: * toastr-primary-text-color: * toastr-icon-primary-background-color: * toastr-icon-primary-color: * toastr-destroyable-hover-primary-background-color: * toastr-destroyable-hover-primary-border-color: * toastr-success-background-color: * toastr-success-border-color: * toastr-success-text-color: * toastr-icon-success-background-color: * toastr-icon-success-color: * toastr-destroyable-hover-success-background-color: * toastr-destroyable-hover-success-border-color: * toastr-info-background-color: * toastr-info-border-color: * toastr-info-text-color: * toastr-icon-info-background-color: * toastr-icon-info-color: * toastr-destroyable-hover-info-background-color: * toastr-destroyable-hover-info-border-color: * toastr-warning-background-color: * toastr-warning-border-color: * toastr-warning-text-color: * toastr-icon-warning-background-color: * toastr-icon-warning-color: * toastr-destroyable-hover-warning-background-color: * toastr-destroyable-hover-warning-border-color: * toastr-danger-background-color: * toastr-danger-border-color: * toastr-danger-text-color: * toastr-icon-danger-background-color: * toastr-icon-danger-color: * toastr-destroyable-hover-danger-background-color: * toastr-destroyable-hover-danger-border-color: * toastr-control-background-color: * toastr-control-border-color: * toastr-control-text-color: * toastr-icon-control-background-color: * toastr-icon-control-color: * toastr-destroyable-hover-control-background-color: * toastr-destroyable-hover-control-border-color: * */ export declare class NbToastComponent implements OnInit { protected renderer: Renderer2; protected elementRef: ElementRef; toast: NbToast; destroy: EventEmitter<void>; get success(): boolean; get info(): boolean; get warning(): boolean; get primary(): boolean; get danger(): boolean; get basic(): boolean; get control(): boolean; get destroyByClick(): boolean; get hasIcon(): boolean; get customIcon(): boolean; get icon(): string | NbIconConfig; get iconPack(): string; get iconConfig(): NbIconConfig; onClick(): void; constructor(renderer: Renderer2, elementRef: ElementRef); ngOnInit(): void; }