You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,29 @@ Unlimited bidirectional virtual scrolling over limited viewport. A directive for
8
8
<pdir="rtl">
9
9
<sub>can donate? go <b><ahref="https://github.com/dhilt/ngx-ui-scroll?sponsor=1">here</a></b></sub><sub> 👉 <br>make open-source world better</sub></p>
10
10
11
+
-[Compatibility](#compatibility)
11
12
-[Motivation](#motivation)
12
13
-[Features](#features)
13
14
-[Getting](#getting)
14
15
-[Usage](#usage)
15
16
-[Settings](#settings)
16
17
-[Adapter API](#adapter-api)
17
-
-[Compatibility](#compatibility)
18
18
-[Development](#development)
19
19
20
20
<br>
21
21
22
+
<aname="compatibility"id="compatibility"></a>
23
+
### Compatibility
24
+
25
+
|ngx-ui-scroll|Angular|compiled|support|notes|
26
+
|:--|:--|:--|:--|:--|
27
+
|v1|5-12|View Engine|no|no dependencies (vscroll is not extracted)|
28
+
|v2|5-12|View Engine|maintenance|vscroll is a bundle-dependency|
29
+
|v3|12+|Ivy|active|vscroll is a peer-dependency|
30
+
31
+
So if the consumer app is view-engine compatible, you should use v2 which is in maintenance mode and under [v2-legacy](https://github.com/dhilt/ngx-ui-scroll/tree/v2-legacy) branch.
32
+
33
+
22
34
### Motivation
23
35
24
36
Scrolling large datasets may cause performance issues. Many DOM elements, many data-bindings, many event listeners... The common way to improve the performance is to render only a small portion of the dataset visible to a user. Other dataset elements that are not visible to a user are virtualized with upward and downward empty padding elements which should provide a consistent viewport with consistent scrollbar parameters.
For more information, see [Adapter demo page](https://dhilt.github.io/ngx-ui-scroll/#adapter).
227
239
228
240
229
-
<aname="compatibility"id="compatibility"></a>
230
-
### Compatibility
231
-
232
-
|ngx-ui-scroll|Angular|compiled|support|notes|
233
-
|:--|:--|:--|:--|:--|
234
-
|1|5-12|View Engine|no|no dependencies|
235
-
|2|5-12|View Engine|maintenance|vscroll is bundle-dependency|
236
-
|3|12+|Ivy|active|vscroll is peer-dependency|
237
-
238
-
239
241
### Development
240
242
241
243
There are some npm scripts available from package.json:
@@ -273,7 +275,7 @@ Also, there are some environment variables for additional customization of the d
273
275
274
276
|Name|Value|Description|
275
277
|:--|:----|:----------|
276
-
|DEV_SERVER_PORT|4200|Port the dev server (webpack) will use. Need to run `npm run start:env` instead of `npm run` to make this setting work.|
278
+
|DEV_SERVER_PORT|4200|Port the dev server (webpack) will use. Need to run `npm run start-env` instead of `npm run` to make this setting work.|
277
279
|TEST_BROWSER|default | chrome | firefox|Platform for running tests. By default a headless chrome is used; "chrome" or "firefox" are for running tests in real (chrome/ff) browser |
278
280
|TEST_SERVER_PORT|9876|Port that will be used by non-default testing browser |
0 commit comments