ngx-slice-kit
Version:
[](https://badge.fury.io/js/ngx-slice-kit)
25 lines (24 loc) • 918 B
TypeScript
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { AlertOptions } from './alert.model';
import * as i0 from "@angular/core";
/**
* Alert component
*/
export declare class AlertComponent implements OnInit, OnDestroy {
private elementRef;
index: number;
options: AlertOptions;
closed: EventEmitter<any>;
action: EventEmitter<any>;
state: any;
sub: Subscription;
closeTimer: Observable<any>;
isPurging: boolean;
constructor(elementRef: ElementRef);
close(action?: boolean): void;
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "sdk-alert", never, { "index": "index"; "options": "options"; }, { "closed": "closed"; "action": "action"; }, never, never, false>;
}