@ngneat/hot-toast
Advanced tools
Comparing version 5.0.2 to 5.1.0-beta.1
@@ -17,2 +17,3 @@ import { ModuleWithProviders } from '@angular/core'; | ||
static forRoot(config?: Partial<ToastConfig>): ModuleWithProviders<HotToastModule>; | ||
static forFeature(config?: Partial<ToastConfig>): ModuleWithProviders<HotToastModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<HotToastModule, never>; | ||
@@ -19,0 +20,0 @@ static ɵmod: i0.ɵɵNgModuleDeclaration<HotToastModule, [typeof i1.HotToastContainerComponent, typeof i2.HotToastComponent, typeof i3.AnimatedIconComponent, typeof i4.IndicatorComponent, typeof i5.CheckMarkComponent, typeof i6.ErrorComponent, typeof i7.LoaderComponent, typeof i8.WarningComponent, typeof i9.InfoComponent], [typeof i10.CommonModule, typeof i11.DynamicViewModule], never>; |
{ | ||
"name": "@ngneat/hot-toast", | ||
"version": "5.0.2", | ||
"version": "5.1.0-beta.1", | ||
"description": "Smoking hot Notifications for Angular. Lightweight, customizable and beautiful by default.", | ||
@@ -5,0 +5,0 @@ "schematics": "./schematics/collection.json", |
@@ -107,2 +107,15 @@ <p align="center"> | ||
There is also possibility to import `HotToastModule` for child module. You can also set toast options ([`Partial<ToastConfig>`](#toastconfig)) here which will apply only in scope of that module and it's children: | ||
```typescript | ||
import { HotToastModule } from '@ngneat/hot-toast'; | ||
@NgModule({ | ||
imports: [HotToastModule.forChild({ | ||
// config | ||
})], | ||
}) | ||
class LazyLoadedModule {} | ||
``` | ||
## Basic Usage | ||
@@ -109,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
490979
3915
300
2