Skip to content

Commit 7a5f427

Browse files
committed
docs(readme): angular 17
1 parent fa01622 commit 7a5f427

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
> No dependencies.
1414
> **Pure Angular!**
1515
16-
> ✓ Angular 16, Ivy and Angular Universal (SSR) compatible
16+
> ✓ Angular 17, Ivy and Angular Universal (SSR) compatible
1717
1818
Just hit the button to smoothly scroll back to the top of the page. [Here's the demo.](http://bartholomej.github.io/ngx-scrolltop/)
1919

@@ -25,7 +25,7 @@ Just hit the button to smoothly scroll back to the top of the page. [Here's the
2525
- Smoothly animated
2626
- a11y ready
2727
- Highly customizable [options](#options)...
28-
- Angular 16: Pure IVY support
28+
- Angular 17
2929
- [Angular 5+ compatible](#compatibility)
3030

3131
![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
4040

4141
### Automatically (recommended) 🚀
4242

43-
> Not using latest version of Angular?
43+
> You're using the latest version of Angular?
4444
> [See our Angular compatibility instructions…](#compatibility)
4545
4646
```bash
@@ -57,8 +57,6 @@ Via **yarn** or **npm**
5757

5858
```bash
5959
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
6260
```
6361

6462
### Setup (manually)
@@ -81,19 +79,20 @@ export class AppModule { }
8179

8280
### Compatibility
8381

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-
8882
| Angular version | ngx-scrolltop | Install |
8983
| --------------- | ------------- | ----------------------------- |
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` |
9287
| ng14 | v4.x.x | `ng add ngx-scrolltop@4` |
9388
| ng13 | v4.x.x | `ng add ngx-scrolltop@4` |
9489
| ng12 | v4.x.x | `ng add ngx-scrolltop@4` |
9590
| ng5 – ng11 | v2.x.x | `ng add ngx-scrolltop@2` |
9691

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+
9796
## Usage
9897

9998
### Component way (default)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"angular14",
108108
"angular15",
109109
"angular16",
110+
"angular17",
110111
"smooth",
111112
"esm",
112113
"sass"

0 commit comments

Comments
 (0)