Skip to content

Commit 379368d

Browse files
committed
chore
1 parent 15e5ab6 commit 379368d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

projects/scroll-strategies/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ If reverse scroll, add `isReverse` directive to `cdk-virtual-scroll-viewport` ta
7777

7878
```html
7979
<cdk-virtual-scroll-viewport [itemDynamicSizes]="dynamicSize()" [isReverse]="true" minBufferPx="900" maxBufferPx="1350">
80-
<div *cdkVirtualFor="let item of items(); trackBy: trackByFn" class="dynamic-item" [style.height.px]="item.itemSize">
81-
itemSize: {{ item.itemSize }}
80+
<div class="reverse-items">
81+
<div *cdkVirtualFor="let item of items(); trackBy: trackByFn" class="dynamic-item" [style.height.px]="item.itemSize">
82+
itemSize: {{ item.itemSize }}
83+
</div>
8284
</div>
8385
</cdk-virtual-scroll-viewport>
8486
```

0 commit comments

Comments
 (0)