fui-material 2.8.22 → 2.8.23
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/dist/f-ui-kit.es.js +181 -25
- package/dist/f-ui-kit.es.js.map +1 -1
- package/dist/f-ui-kit.umd.js +2 -2
- package/dist/f-ui-kit.umd.js.map +1 -1
- package/dist/types/material/FProgressiveList/FProgressiveList.d.ts +1 -1
- package/dist/types/material/FProgressiveList/types.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IFProgressiveListProps } from './types';
|
|
3
|
-
export declare function FProgressiveList<T>({ items, chunkSize, estimatedItemHeight, keyExtractor, className, st, showProgress, renderProgress, children, onLoadMore, hasMore, isLoadingMore, loader, threshold }: IFProgressiveListProps<T>): React.ReactElement;
|
|
3
|
+
export declare function FProgressiveList<T>({ items, chunkSize, estimatedItemHeight, keyExtractor, className, st, showProgress, renderProgress, children, onLoadMore, hasMore, isLoadingMore, loader, threshold, virtualize, overscan, }: IFProgressiveListProps<T>): React.ReactElement;
|
|
4
4
|
export default FProgressiveList;
|
|
@@ -31,4 +31,15 @@ export interface IFProgressiveListProps<T> {
|
|
|
31
31
|
loader?: React.ReactNode;
|
|
32
32
|
/** Отступ до низа в пикселях для упреждающего срабатывания (по умолчанию 250px) */
|
|
33
33
|
threshold?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Включить виртуальное окно (Virtual Windowing).
|
|
36
|
+
* Размонтирует и удаляет из DOM элементы, ушедшие за пределы экрана,
|
|
37
|
+
* удерживая в DOM всегда ~6–10 элементов независимо от размера массива (хоть 10 000).
|
|
38
|
+
* По умолчанию false (работает Time-Slicing + content-visibility).
|
|
39
|
+
*/
|
|
40
|
+
virtualize?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Количество дополнительных элементов выше и ниже видимой области в режиме виртуализации (по умолчанию 2).
|
|
43
|
+
*/
|
|
44
|
+
overscan?: number;
|
|
34
45
|
}
|