Files
dsProject/dsBase/WebRoot/html/cdn/lib/components/table/src/layout-observer.d.ts

9 lines
334 B
TypeScript
Raw Normal View History

2025-08-14 15:45:08 +08:00
import type TableLayout from './table-layout';
import type { Table } from './table/defaults';
declare function useLayoutObserver<T>(root: Table<T>): {
tableLayout: TableLayout<T>;
onColumnsChange: (layout: TableLayout<T>) => void;
onScrollableChange: (layout: TableLayout<T>) => void;
};
export default useLayoutObserver;