@legendapp/list 3.3.11 → 3.4.0
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/CHANGELOG.md +8 -0
- package/animated.d.ts +6 -0
- package/package.json +1 -1
- package/react-native.d.ts +6 -0
- package/react-native.js +282 -162
- package/react-native.mjs +282 -162
- package/react-native.web.d.ts +7 -0
- package/react-native.web.js +272 -158
- package/react-native.web.mjs +272 -158
- package/react.d.ts +7 -0
- package/react.js +272 -158
- package/react.mjs +272 -158
- package/reanimated.d.ts +6 -0
- package/section-list.d.ts +6 -0
package/react-native.web.d.ts
CHANGED
|
@@ -357,6 +357,12 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
|
|
|
357
357
|
onLoad?: (info: {
|
|
358
358
|
elapsedTimeInMs: number;
|
|
359
359
|
}) => void;
|
|
360
|
+
/**
|
|
361
|
+
* Called after layout and initial scrolling complete, including after a
|
|
362
|
+
* dataKey reset. Unlike onLoad, this runs for each initial placement cycle.
|
|
363
|
+
* Ordinary data updates do not trigger it unless they restart initial placement.
|
|
364
|
+
*/
|
|
365
|
+
onReady?: () => void;
|
|
360
366
|
/**
|
|
361
367
|
* Called when list layout metrics change.
|
|
362
368
|
*/
|
|
@@ -812,6 +818,7 @@ interface LooseScrollViewProps {
|
|
|
812
818
|
onMomentumScrollEnd?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
813
819
|
onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
814
820
|
onScrollBeginDrag?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
821
|
+
onScrollEndDrag?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
815
822
|
refreshControl?: ReactElement | null;
|
|
816
823
|
removeClippedSubviews?: boolean;
|
|
817
824
|
scrollEventThrottle?: number;
|