@legendapp/list 3.3.10 → 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/reanimated.d.ts CHANGED
@@ -334,6 +334,12 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
334
334
  onLoad?: (info: {
335
335
  elapsedTimeInMs: number;
336
336
  }) => void;
337
+ /**
338
+ * Called after layout and initial scrolling complete, including after a
339
+ * dataKey reset. Unlike onLoad, this runs for each initial placement cycle.
340
+ * Ordinary data updates do not trigger it unless they restart initial placement.
341
+ */
342
+ onReady?: () => void;
337
343
  /**
338
344
  * Called when list layout metrics change.
339
345
  */
package/section-list.d.ts CHANGED
@@ -390,6 +390,12 @@ interface LegendListSpecificProps<ItemT, TItemType extends string | undefined> {
390
390
  onLoad?: (info: {
391
391
  elapsedTimeInMs: number;
392
392
  }) => void;
393
+ /**
394
+ * Called after layout and initial scrolling complete, including after a
395
+ * dataKey reset. Unlike onLoad, this runs for each initial placement cycle.
396
+ * Ordinary data updates do not trigger it unless they restart initial placement.
397
+ */
398
+ onReady?: () => void;
393
399
  /**
394
400
  * Called when list layout metrics change.
395
401
  */