UNPKG

ng-angular-popup

Version:

A modern, lightweight, and customizable toast notification library for Angular applications

39 lines (38 loc) 1.44 kB
import { NgToastService } from '../ng-toast.service'; import { ToastPosition } from '../toaster-position.enum'; import { ToastType } from '../toast-type.enum'; import * as i0 from "@angular/core"; /** * Demo component showcasing the ng-toast library with Angular v20 and signals */ export declare class NgToastDemoComponent { private toastService; TOAST_POSITIONS: { readonly TOP_LEFT: "toaster-top-left"; readonly TOP_CENTER: "toaster-top-center"; readonly TOP_RIGHT: "toaster-top-right"; readonly BOTTOM_LEFT: "toaster-bottom-left"; readonly BOTTOM_CENTER: "toaster-bottom-center"; readonly BOTTOM_RIGHT: "toaster-bottom-right"; }; currentPosition: ToastPosition; duration: number; showProgress: boolean; dismissible: boolean; customTitle: string; customMessage: string; toastTypes: ToastType[]; constructor(toastService: NgToastService); showSuccess(): void; showInfo(): void; showWarning(): void; showDanger(): void; showPrimary(): void; showSecondary(): void; showCustomToast(type: string): void; clearAllToasts(): void; showMultipleToasts(): void; setPosition(position: ToastPosition): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgToastDemoComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgToastDemoComponent, "ng-toast-demo", never, {}, {}, never, never, true, never>; }