@nova-ui/bits
Version:
SolarWinds Nova Framework
27 lines (26 loc) • 1.07 kB
TypeScript
import { ElementRef, OnDestroy, OnInit } from "@angular/core";
import { NotificationService } from "../../services/notification-service";
import * as i0 from "@angular/core";
/**
* <example-url>./../examples/index.html#/toast</example-url>
*/
/** @ignore */
export declare class ToastDirective implements OnInit, OnDestroy {
private elRef;
private notificationService;
/**
* sets model for directive to check whether corresponding element should be highlighted or not
*/
nuiToast: any;
private notificationSubscription;
private get highlightOnClass();
private get highlightFadeOutClass();
private isHighlighted;
private status;
constructor(elRef: ElementRef, notificationService: NotificationService);
ngOnInit(): void;
private onHighlight;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ToastDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastDirective, "[nuiToast]", never, { "nuiToast": { "alias": "nuiToast"; "required": false; }; }, {}, never, never, false, never>;
}