@kelvininc/angular-ui-components
Version:
Kelvin UI Components for Angular applications
22 lines (21 loc) • 923 B
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { Subject } from 'rxjs';
import { ToasterService } from './toaster-controller.service';
import { IToaster, EToasterType } from '@kelvininc/ui-components';
import * as i0 from "@angular/core";
export declare class ToasterControllerComponent implements OnInit, OnDestroy {
toastService: ToasterService;
header: string | null;
description?: string;
type: EToasterType | null;
ttl?: number;
unsubscriber$: Subject<void>;
constructor(toastService: ToasterService);
ngOnInit(): void;
ngOnDestroy(): void;
onCloseToaster(event: CustomEvent): void;
initToaster(newMessage: IToaster): void;
onClose(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterControllerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterControllerComponent, "kv-toaster-controller", never, {}, {}, never, never, false>;
}