You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest version available for each version of Angular
32
31
33
-
| ngx-toastr | Angular |
34
-
| ---------- | ----------- |
35
-
| 13.2.1 | 10.x 11.x |
36
-
| 14.3.0 | 12.x 13.x |
37
-
| 15.2.2 | 14.x. |
38
-
| 16.2.0 | 15.x |
39
-
| 17.0.2 | 16.x |
40
-
| current | >= 17.x |
32
+
| ngx-toastr | Angular |
33
+
| --------------- | --------------- |
34
+
| 13.2.1 | 10.x 11.x |
35
+
| 14.3.0 | 12.x 13.x |
36
+
| 15.2.2 | 14.x. |
37
+
| 16.2.0 | 15.x |
38
+
| 17.0.2 | 16.x |
39
+
| 18.x 19x | >= 17.x < 23.x |
40
+
| current | >= 20.x |
41
41
42
42
## Install
43
43
44
44
```bash
45
45
npm install ngx-toastr --save
46
46
```
47
47
48
-
`@angular/animations` package is a required dependency for the default toast
49
-
50
-
```bash
51
-
npm install @angular/animations --save
52
-
```
53
-
54
-
Don't want to use `@angular/animations`? See
55
-
[Setup Without Animations](#setup-without-animations).
56
-
57
48
## Setup
58
49
59
50
**step 1:** add css
@@ -91,20 +82,15 @@ Don't want to use `@angular/animations`? See
91
82
]
92
83
```
93
84
94
-
**step 2:** add `ToastrModule` to app `NgModule`, or `provideToastr` to providers, make sure you have `BrowserAnimationsModule` (or `provideAnimations`) as well.
85
+
**step 2:** add `ToastrModule` to app `NgModule`, or `provideToastr` to providers.
0 commit comments