UNPKG

sb-element

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]

29 lines (28 loc) 1.55 kB
import { ElementRef } from '@angular/core'; import { SbAlert } from './alert'; import { AlertServiceSubscriber } from './alert-service-subscriber'; import { SbAlertService } from './alert.service'; import { SbThemeService } from '../../core'; import * as i0 from "@angular/core"; declare const SbAlertCore: import("../../core").Constructor<import("../../core").CanHide> & import("../../core").AbstractConstructor<import("../../core").CanHide> & import("../../core").Constructor<import("../../core").CanClassName> & import("../../core").AbstractConstructor<import("../../core").CanClassName> & { new (_elementRef: ElementRef, _themeService: SbThemeService): { _elementRef: ElementRef; _themeService: SbThemeService; }; }; export declare class SbAlertComponent extends SbAlertCore implements AlertServiceSubscriber { private alertService; showArrow: boolean; showIcon: boolean; showTime: number; private pauseTime; private alertBox; transitionElement?: ElementRef; message: string; constructor(elementRef: ElementRef, themeService: SbThemeService, alertService: SbAlertService); alert(alert: SbAlert): Promise<void>; private configureAlertBox; static ɵfac: i0.ɵɵFactoryDeclaration<SbAlertComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SbAlertComponent, "sb-alert", never, { "visible": "visible"; "showArrow": "showArrow"; "showIcon": "showIcon"; "showTime": "showTime"; "pauseTime": "pauseTime"; }, { "show": "show"; "hide": "hide"; }, never, never>; } export {};