@addapptables/notifier
Version:
Material notifier library for angular
10 lines (9 loc) • 333 B
TypeScript
import { NotifierType } from './notifier-type.model';
import { TemplateRef } from '@angular/core';
import { ComponentType } from '@angular/cdk/portal';
export declare class Notifier<D = any, T = any> {
message: string;
type: NotifierType;
data?: D;
templateOrComponent?: ComponentType<T> | TemplateRef<T>;
}