ng-angular-popup
Version:
A modern, lightweight, and customizable toast notification library for Angular applications
18 lines (17 loc) • 717 B
TypeScript
import { OnInit } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Directive that renders appropriate SVG icons for different toast types
*/
export declare class ToastIconDirective implements OnInit {
#private;
/** Input signal for the toast type */
type: import("@angular/core").InputSignal<string>;
ngOnInit(): void;
/**
* Sets the appropriate SVG icon based on toast type
*/
setIcon(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ToastIconDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastIconDirective, "[toastIcon]", never, { "type": { "alias": "toastIcon"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
}