@libs-ui/components-scroll-measure-items-direction-vertical 0.2.357-2 → 0.2.357-21
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 +0 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -409,11 +409,3 @@ interface IScrollMeasureStoreItemVerticalConvert {
|
|
|
409
409
|
⚠️ **Không dùng `track $index` trong `@for`**: Theo coding convention dự án, bắt buộc dùng `track item.id` hoặc `track item` (track object reference). Dùng `track $index` gây bug re-render lộn xộn với virtual scroll.
|
|
410
410
|
|
|
411
411
|
⚠️ **`viewPortItems` signal phải được khai báo riêng**: Directive không quản lý state của consumer. Consumer phải tự khai báo `protected viewPortItems = signal<T[]>([])` và cập nhật trong handler `(outViewPortItem)`.
|
|
412
|
-
|
|
413
|
-
## Demo
|
|
414
|
-
|
|
415
|
-
```bash
|
|
416
|
-
npx nx serve core-ui
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
Truy cập: http://localhost:4500/scroll-measure-items/direction-vertical
|