13
13
> No dependencies.
14
14
> ** Pure Angular!**
15
15
16
- > ✓ Angular 16 , Ivy and Angular Universal (SSR) compatible
16
+ > ✓ Angular 17 , Ivy and Angular Universal (SSR) compatible
17
17
18
18
Just hit the button to smoothly scroll back to the top of the page. [ Here's the demo.] ( http://bartholomej.github.io/ngx-scrolltop/ )
19
19
@@ -25,7 +25,7 @@ Just hit the button to smoothly scroll back to the top of the page. [Here's the
25
25
- Smoothly animated
26
26
- a11y ready
27
27
- Highly customizable [ options] ( #options ) ...
28
- - Angular 16: Pure IVY support
28
+ - Angular 17
29
29
- [ Angular 5+ compatible] ( #compatibility )
30
30
31
31
![ Demo animation] ( https://github.com/bartholomej/material-scrollTop/blob/master/demo/images/material-scrolltop-animation.gif?raw=true )
@@ -40,7 +40,7 @@ Or play with it live on [stackblitz.com/edit/ngx-scrolltop](https://stackblitz.c
40
40
41
41
### Automatically (recommended) 🚀
42
42
43
- > Not using latest version of Angular?
43
+ > You're using the latest version of Angular?
44
44
> [ See our Angular compatibility instructions…] ( #compatibility )
45
45
46
46
``` bash
@@ -57,8 +57,6 @@ Via **yarn** or **npm**
57
57
58
58
``` bash
59
59
npm install ngx-scrolltop --save # for lastest Angular only! See our compatibility table
60
-
61
- # npm install ngx-scrolltop@2 --save # for Angular 5 – 11
62
60
```
63
61
64
62
### Setup (manually)
@@ -81,19 +79,20 @@ export class AppModule { }
81
79
82
80
### Compatibility
83
81
84
- Since ` ngx-scrolltop ` ` v3 ` , the library is compiled with IVY and fully supports Angular12+ (you can't use this with older Angular version anymore!)
85
-
86
- If you still need to use it with an older version of Angular, then use version 2, which is still available: ` ng add ngx-scrolltop@2 `
87
-
88
82
| Angular version | ngx-scrolltop | Install |
89
83
| --------------- | ------------- | ----------------------------- |
90
- | ng16 | v6.x.x | ` ng add ngx-scrolltop@latest ` |
91
- | ng15 | v6.x.x | ` ng add ngx-scrolltop@latest ` |
84
+ | ng17 | v7.x.x | ` ng add ngx-scrolltop@latest ` |
85
+ | ng16 | v6.x.x | ` ng add ngx-scrolltop@6 ` |
86
+ | ng15 | v6.x.x | ` ng add ngx-scrolltop@6 ` |
92
87
| ng14 | v4.x.x | ` ng add ngx-scrolltop@4 ` |
93
88
| ng13 | v4.x.x | ` ng add ngx-scrolltop@4 ` |
94
89
| ng12 | v4.x.x | ` ng add ngx-scrolltop@4 ` |
95
90
| ng5 – ng11 | v2.x.x | ` ng add ngx-scrolltop@2 ` |
96
91
92
+ Note: Since ` ngx-scrolltop ` ` v3 ` , the library is compiled with IVY and fully supports Angular12+ (you can't use this with older Angular version anymore!)
93
+
94
+ If you still need to use it with an older version of Angular, then use version 2, which is still available: ` ng add ngx-scrolltop@2 `
95
+
97
96
## Usage
98
97
99
98
### Component way (default)
0 commit comments