UNPKG

@nebular/theme

Version:
82 lines (81 loc) 2.64 kB
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { EventEmitter } from '@angular/core'; import { NbToast } from './model'; /** * The `NbToastComponent` is responsible for rendering each toast with appropriate styles. * * @styles * * toastr-background-color: * toastr-border-color: * toastr-border-style: * toastr-border-width: * toastr-border-radius: * toastr-padding: * toastr-shadow: * toastr-text-color: * 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-destroyable-hover-background-color: * toastr-destroyable-hover-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: * */ export declare class NbToastComponent { toast: NbToast; destroy: EventEmitter<void>; readonly success: boolean; readonly info: boolean; readonly warning: boolean; readonly primary: boolean; readonly danger: boolean; readonly destroyByClick: boolean; readonly hasIcon: boolean; readonly customIcon: boolean; readonly icon: string; readonly iconPack: string; onClick(): void; }