@rdlabo/ngx-cdk-scroll-strategies 22.0.0-4 → 22.0.0-5
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 +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Use this library when:
|
|
|
17
17
|
- `scrollToIndex` and scroll positions must use exact variable-height geometry; or
|
|
18
18
|
- a chat UI needs reverse virtual scrolling.
|
|
19
19
|
|
|
20
|
-
If an item height is not known in advance, measure it and pass the result as shown in [Advanced Usage](
|
|
20
|
+
If an item height is not known in advance, measure it and pass the result as shown in [Advanced Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/advanced). This is not a drop-in strategy that discovers every unknown DOM height automatically.
|
|
21
21
|
|
|
22
22
|
The basic Angular CDK variable-height virtual scroll setup is:
|
|
23
23
|
|
|
@@ -43,13 +43,13 @@ This library is based largely on [Virtual scrolling of content with variable hei
|
|
|
43
43
|
|
|
44
44
|
| Goal | Guide |
|
|
45
45
|
| --- | --- |
|
|
46
|
-
| Specify each item height | [Simple Usage](
|
|
47
|
-
| Measure item components | [Advanced Usage](
|
|
48
|
-
| Reverse chat-style scrolling | [Reverse Scroll](
|
|
46
|
+
| Specify each item height | [Simple Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/simple) |
|
|
47
|
+
| Measure item components | [Advanced Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/advanced) |
|
|
48
|
+
| Reverse chat-style scrolling | [Reverse Scroll](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/reverse) |
|
|
49
49
|
|
|
50
50
|
## Quick start
|
|
51
51
|
|
|
52
|
-
After [Installation](#installation), bind `[itemDynamicSizes]` instead of `[itemSize]`. See [Simple Usage](
|
|
52
|
+
After [Installation](#installation), bind `[itemDynamicSizes]` instead of `[itemSize]`. See [Simple Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/simple).
|
|
53
53
|
|
|
54
54
|
## Installation
|
|
55
55
|
|
|
@@ -62,10 +62,10 @@ npm install @rdlabo/ngx-cdk-scroll-strategies
|
|
|
62
62
|
|
|
63
63
|
Start with [Installation](#installation), then pick a guide.
|
|
64
64
|
|
|
65
|
-
- [Simple Usage](
|
|
66
|
-
- [Advanced Usage](
|
|
67
|
-
- [Reverse Scroll](
|
|
68
|
-
- [FAQ](
|
|
65
|
+
- [Simple Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/simple) — per-item heights.
|
|
66
|
+
- [Advanced Usage](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/advanced) — measured item components.
|
|
67
|
+
- [Reverse Scroll](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/reverse) — chat-style reverse lists.
|
|
68
|
+
- [FAQ](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies/docs/faq) — why not `autosize`.
|
|
69
69
|
|
|
70
70
|
<!-- rdlabo-docs-omit -->
|
|
71
71
|
**Full documentation:** [https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies](https://docs.rdlabo.dev/projects/ngx-cdk-scroll-strategies)
|