ngx-toastr 8.6.0 → 8.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -7
- package/bundles/ngx-toastr.umd.js +129 -129
- package/bundles/ngx-toastr.umd.js.map +1 -1
- package/bundles/ngx-toastr.umd.min.js +1 -1
- package/bundles/ngx-toastr.umd.min.js.map +1 -1
- package/esm2015/ngx-toastr.js +1 -1
- package/esm2015/public_api.js +5 -5
- package/esm5/ngx-toastr.js +1 -1
- package/esm5/public_api.js +5 -5
- package/fesm2015/ngx-toastr.js +102 -102
- package/fesm2015/ngx-toastr.js.map +1 -1
- package/fesm5/ngx-toastr.js +121 -121
- package/fesm5/ngx-toastr.js.map +1 -1
- package/ngx-toastr.metadata.json +1 -1
- package/package.json +3 -3
- package/public_api.d.ts +4 -4
package/README.md
CHANGED
@@ -71,10 +71,10 @@ Don't want to use `@angular/animations`? See
|
|
71
71
|
|
72
72
|
* If you are using angular-cli you can add it to your angular.json
|
73
73
|
|
74
|
-
```
|
74
|
+
```ts
|
75
75
|
"styles": [
|
76
76
|
"styles.scss",
|
77
|
-
"
|
77
|
+
"node_modules/ngx-toastr/toastr.css" // try adding '../' if you're using angular cli before 6
|
78
78
|
]
|
79
79
|
```
|
80
80
|
|
@@ -100,13 +100,10 @@ class MainModule {}
|
|
100
100
|
|
101
101
|
## Use
|
102
102
|
|
103
|
-
Success:
|
104
|
-
|
105
103
|
```typescript
|
106
104
|
import { ToastrService } from 'ngx-toastr';
|
107
|
-
|
108
|
-
|
109
|
-
})
|
105
|
+
|
106
|
+
@Component({...})
|
110
107
|
export class YourComponent {
|
111
108
|
constructor(private toastr: ToastrService) {}
|
112
109
|
|