Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade/ng 16 #554

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
3bb6324
build: bump version
medbenmoussa Sep 19, 2023
50e1537
1.0.1
medbenmoussa Sep 19, 2023
97b7245
build: bump version
medbenmoussa Sep 19, 2023
efe6f9d
1.0.2
medbenmoussa Sep 19, 2023
0159445
build: bump version
medbenmoussa Sep 19, 2023
062be13
1.0.3
medbenmoussa Sep 19, 2023
b767206
build: bump version
medbenmoussa Sep 19, 2023
5edb4cc
1.0.4
medbenmoussa Sep 19, 2023
e38e9ab
build: bump version
medbenmoussa Sep 19, 2023
9b40b29
1.0.5
medbenmoussa Sep 19, 2023
cce44dc
build: bump version
medbenmoussa Sep 19, 2023
1260202
1.0.6
medbenmoussa Sep 19, 2023
844cf7c
build: bump version
medbenmoussa Sep 19, 2023
c11ad69
1.0.7
medbenmoussa Sep 19, 2023
ca2cc33
1.0.8
medbenmoussa Sep 19, 2023
05cee6e
build: bump version
medbenmoussa Sep 19, 2023
c6dcdf0
1.0.10
medbenmoussa Sep 19, 2023
60a4ab6
build: bump version
medbenmoussa Sep 19, 2023
8255b01
1.0.11
medbenmoussa Sep 19, 2023
553df22
build: bump version
medbenmoussa Sep 19, 2023
3563774
1.0.12
medbenmoussa Sep 19, 2023
f33fc1e
build: bump version
medbenmoussa Sep 19, 2023
e2214e8
1.0.13
medbenmoussa Sep 19, 2023
cdf728d
build: bump version
medbenmoussa Sep 19, 2023
79244ce
1.0.16
medbenmoussa Sep 19, 2023
3b96562
build: bump version
medbenmoussa Sep 19, 2023
af26b08
1.0.17
medbenmoussa Sep 19, 2023
325b354
fix: remove absolute position
medbenmoussa Sep 19, 2023
d2335d1
1.0.18
medbenmoussa Sep 19, 2023
9b6375d
fix: remove absolute position
medbenmoussa Sep 19, 2023
9c0724e
1.0.19
medbenmoussa Sep 19, 2023
cb2612c
patch: remove webkit style
medbenmoussa Sep 19, 2023
4b83eb2
docs
medbenmoussa Sep 19, 2023
f395349
1.0.20
medbenmoussa Sep 20, 2023
61b8fc0
fix typing
medbenmoussa Sep 20, 2023
e74f87c
1.0.21
medbenmoussa Sep 20, 2023
79034f3
docs: update readmi
medbenmoussa Sep 20, 2023
68ff20b
1.0.1
medbenmoussa Sep 20, 2023
b25bc2d
1.0.2
medbenmoussa Sep 20, 2023
398e9ef
build: bump version
medbenmoussa Sep 20, 2023
e41a443
16.0.1
medbenmoussa Sep 20, 2023
b9b2fd5
fix: types/tween.js
medbenmoussa Sep 20, 2023
93ed6d7
16.0.2
medbenmoussa Sep 20, 2023
2826fcb
fix: types/tween.js
medbenmoussa Sep 20, 2023
1b8f3bb
16.0.3
medbenmoussa Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 16 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
# Sponsors

<table>
<tbody>
<tr>
<td align="center" valign="middle">
<a href="https://moviepix.app/?utm_source=sponsor&utm_campaign=ngx-virtual-scroller" target="_blank">
<img src="https://moviepix.app/images/Logo_Small.png">
<img src="https://moviepix.app/images/Title_Small.png">
</a>
</td>
</tr>
</tbody>
</table>

# ngx-virtual-scroller

Virtual Scroll displays a virtual, "infinite" list. Supports horizontal/vertical, variable heights, & multi-column.

## Renamed from `angular2-virtual-scroll` to `ngx-virtual-scroller`. Please update your _package.json_
compatible with angular v16+
## Renamed from `angular2-virtual-scroll` or `ngx-virtual-scroller` to `@tt-tech/ngx-virtual-scroller`. Please update your _package.json_

## About

Expand All @@ -30,17 +15,7 @@ This method is effective because the number of DOM elements are always constant

## Breaking Changes:

- `v3.0.0` Several deprecated properties removed (see changelog).
- If items array is prepended with additional items, keep scroll on currently visible items, if possible. There is no flag to disable this, because it seems to be the best user-experience in all cases. If you disagree, please create an issue.
- `v2.1.0` Dependency Injection syntax was changed.
- `v1.0.6` viewPortIndices API property removed. (use viewPortInfo instead)
- `v1.0.3` Renamed everything from _virtual-scroll_ to _virtual-scroller_ and from _virtualScroll_ to _virtualScroller_
- `v0.4.13` _resizeBypassRefreshTheshold_ renamed to _resizeBypassRefreshThreshold_ (typo)
- `v0.4.12` The start and end values of the change/start/end events were including bufferAmount, which made them confusing. This has been corrected.
- viewPortIndices.arrayStartIndex renamed to viewPortIndices.startIndex and viewPortIndices.arrayEndIndex renamed to viewPortIndices.endIndex
- `v0.4.4` The value of IPageInfo.endIndex wasn't intuitive. This has been corrected. Both IPageInfo.startIndex and IPageInfo.endIndex are the 0-based array indexes of the items being rendered in the viewport. (Previously Change.EndIndex was the array index + 1)

*Note* - API methods marked *(DEPRECATED)* will be removed in the next major version. Please attempt to stop using them in your code & create an issue if you believe they're still necessary.
- `v16.0.3` Several deprecated properties removed & dependicies version are upgraded .

## New features:

Expand Down Expand Up @@ -90,17 +65,17 @@ note: viewPortItems must be a public field to work with AOT

## Get Started

**Step 1:** Install ngx-virtual-scroller
**Step 1:** Install @tt-tech/ngx-virtual-scroller

```sh
npm install ngx-virtual-scroller
npm install @tt-tech/ngx-virtual-scroller
```

**Step 2:** Import virtual scroll module into your app module

```ts
....
import { VirtualScrollerModule } from 'ngx-virtual-scroller';
import { VirtualScrollerModule } from '@tt-tech/ngx-virtual-scroller';

....

Expand Down Expand Up @@ -278,7 +253,7 @@ Items _must_ have fixed height and width for this module to work perfectly. If n
The event `vsEnd` is fired every time the scrollbar reaches the end of the list. You could use this to dynamically load more items at the end of the scroll. See below.

```ts
import { IPageInfo } from 'ngx-virtual-scroller';
import { IPageInfo } from '@tt-tech/ngx-virtual-scroller';
...

@Component({
Expand Down Expand Up @@ -383,7 +358,7 @@ If virtual scroll is used within a dropdown or collapsible menu, virtual scroll

```ts
import { Component, ViewChild } from '@angular/core';
import { VirtualScrollerComponent } from 'ngx-virtual-scroller';
import { VirtualScrollerComponent } from '@tt-tech/ngx-virtual-scroller';

@Component({
selector: 'rj-list',
Expand Down Expand Up @@ -415,7 +390,7 @@ You can use the `scrollInto()` or `scrollToIndex()` API to scroll into an item i

```ts
import { Component, ViewChild } from '@angular/core';
import { VirtualScrollerComponent } from 'ngx-virtual-scroller';
import { VirtualScrollerComponent } from '@tt-tech/ngx-virtual-scroller';

@Component({
selector: 'rj-list',
Expand Down Expand Up @@ -770,17 +745,17 @@ Contributions are very welcome! Just send a pull request. Feel free to contact m
* **Devin Garner** (speige)
* **Pavel Kukushkin** (kykint)

## Contributers

* **TT Tech** (tt)
* **Redouane Tahoum** (R.T)
* **Mohamed Benmoussa** (M.B)

### Hope this module is helpful to you. Please make sure to checkout my other [projects](https://github.com/rintoj) and [articles](https://medium.com/@rintoj). Enjoy coding!

Follow me:
[GitHub](https://github.com/rintoj)
| [Facebook](https://www.facebook.com/rinto.jose)
| [Twitter](https://twitter.com/rintoj)
| [Google+](https://plus.google.com/+RintoJoseMankudy)
| [Youtube](https://youtube.com/+RintoJoseMankudy)

## Versions
[Check CHANGELOG](https://github.com/rintoj/ngx-virtual-scroller/blob/master/CHANGELOG.md)
[Check CHANGELOG](https://github.com/medbenmoussa/ngx-virtual-scroller/blob/master/CHANGELOG.md)

## License
```
Expand Down
13 changes: 0 additions & 13 deletions demo/.editorconfig

This file was deleted.

46 changes: 0 additions & 46 deletions demo/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions demo/README.md

This file was deleted.

128 changes: 0 additions & 128 deletions demo/angular.json

This file was deleted.

11 changes: 0 additions & 11 deletions demo/browserslist

This file was deleted.

23 changes: 0 additions & 23 deletions demo/e2e/src/app.e2e-spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions demo/e2e/src/app.po.ts

This file was deleted.

Loading