UNPKG

@farris/ui-vue

Version:

Farris Vue, a Farris Design based Vue3 component library.

13 lines (12 loc) 560 B
/** * After dataView.load(), visibleDatas is stale until visual rows are recalculated. * scrollTo alone only calls updateVisibleRowsOnLatestVisibleScope, which can skip * reCalculateVisualDataRows — so keep-scroll must still resetScroll first, then restore. */ export interface RefreshScrollAfterDataSourceLoadParams { keepScroll: boolean; savedOffsetY: number; resetScroll: () => void; scrollTo: (offsetY: number) => void; } export declare function refreshScrollAfterDataSourceLoad(params: RefreshScrollAfterDataSourceLoadParams): void;