ng-virtual-list 0.3.2 → 0.3.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 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Fast, optimized rendering of extremely large numbers of list items
|
|
|
4
4
|
|
|
5
5
|
Angular version 19.X.X.
|
|
6
6
|
|
|
7
|
+
[Demo](https://ng-virtual-list.eugene-grebennikov.pro/)
|
|
8
|
+
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
```bash
|
|
@@ -18,7 +20,7 @@ npm i ng-virtual-list
|
|
|
18
20
|
|
|
19
21
|
Template:
|
|
20
22
|
```html
|
|
21
|
-
|
|
23
|
+
<ng-virtual-list class="list" direction="hotizontal" [items]="horizontalItems"
|
|
22
24
|
[itemRenderer]="hotizontalItemRenderer" [itemSize]="64"></ng-virtual-list>
|
|
23
25
|
|
|
24
26
|
<ng-template #hotizontalItemRenderer let-data="data">
|
|
@@ -56,7 +58,7 @@ export class AppComponent {
|
|
|
56
58
|
|
|
57
59
|
Template:
|
|
58
60
|
```html
|
|
59
|
-
|
|
61
|
+
<ng-virtual-list class="list" direction="hotizontal" [items]="horizontalGroupItems" [itemRenderer]="horizontalGroupItemRenderer"
|
|
60
62
|
[stickyMap]="horizontalGroupItemsStickyMap" [itemSize]="80" [snap]="true"></ng-virtual-list>
|
|
61
63
|
|
|
62
64
|
<ng-template #horizontalGroupItemRenderer let-data="data">
|