ng-virtual-list 0.4.0 → 0.4.2
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 +7 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npm i ng-virtual-list
|
|
|
16
16
|
|
|
17
17
|
### Horizontal virtual list
|
|
18
18
|
|
|
19
|
-

|
|
20
20
|
|
|
21
21
|
Template:
|
|
22
22
|
```html
|
|
@@ -54,7 +54,7 @@ export class AppComponent {
|
|
|
54
54
|
|
|
55
55
|
### Horizontal grouped virtual list
|
|
56
56
|
|
|
57
|
-

|
|
58
58
|
|
|
59
59
|
Template:
|
|
60
60
|
```html
|
|
@@ -112,7 +112,7 @@ export class AppComponent {
|
|
|
112
112
|
|
|
113
113
|
### Vertical virtual list
|
|
114
114
|
|
|
115
|
-

|
|
116
116
|
|
|
117
117
|
Template:
|
|
118
118
|
```html
|
|
@@ -152,7 +152,8 @@ export class AppComponent {
|
|
|
152
152
|
### Vertical grouped virtual list
|
|
153
153
|
|
|
154
154
|
#### Without snapping
|
|
155
|
-
|
|
155
|
+
|
|
156
|
+

|
|
156
157
|
|
|
157
158
|
Template:
|
|
158
159
|
```html
|
|
@@ -179,7 +180,7 @@ Template:
|
|
|
179
180
|
|
|
180
181
|
#### With snapping
|
|
181
182
|
|
|
182
|
-

|
|
183
184
|
|
|
184
185
|
Template (with snapping):
|
|
185
186
|
```html
|
|
@@ -238,7 +239,7 @@ export class AppComponent {
|
|
|
238
239
|
|
|
239
240
|
The example demonstrates the scrollTo method by passing it the element id. It is important not to confuse the ordinal index and the element id. In this example, id = index + 1
|
|
240
241
|
|
|
241
|
-

|
|
242
243
|
|
|
243
244
|
Template
|
|
244
245
|
```html
|