ng-angular-popup
Version:
A modern, lightweight, and customizable toast notification library for Angular applications
32 lines (31 loc) • 1.01 kB
TypeScript
import * as i0 from "@angular/core";
import * as i1 from "./ng-toast.component";
import * as i2 from "./toast-icon.directive";
/**
* @deprecated Use standalone components and provideNgToast() instead
* This module is kept for backward compatibility with Angular versions < 14
*
* Example usage with standalone components:
* ```typescript
* // In your app.config.ts
* export const appConfig: ApplicationConfig = {
* providers: [
* provideNgToast(),
* // other providers...
* ]
* };
*
* // In your component
* @Component({
* // ...
* imports: [NgToastComponent],
* // ...
* })
* export class YourComponent {}
* ```
*/
export declare class NgToastModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NgToastModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NgToastModule, never, [typeof i1.NgToastComponent, typeof i2.ToastIconDirective], [typeof i1.NgToastComponent, typeof i2.ToastIconDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NgToastModule>;
}