@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
34 lines (33 loc) • 956 B
TypeScript
import { ComponentRef, ViewRef } from '@angular/core';
import { ClrNotification } from './notification';
/**
* A reference to an active (currently opened) notification.
*
* @deprecated not used anymore.
*/
export declare class ClrActiveNotification {
}
export declare class ClrContentRef {
nodes: any[];
viewRef?: ViewRef;
componentRef?: ComponentRef<any>;
constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef<any>);
}
/**
* A reference to a newly opened notification.
*/
export declare class ClrNotificationRef {
private _notificationCmptRef;
private _contentRef;
private _resolve;
/**
* A promise that is resolved when a notification is closed.
*/
result: Promise<any>;
constructor(_notificationCmptRef: ComponentRef<ClrNotification>, _contentRef: ClrContentRef);
/**
* Can be used to close a notification
*/
close(): void;
private _removeModalElements;
}