UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

11 lines (10 loc) • 827 B
import type { BeanCollection } from '../context/context'; /** Opens (`true`) or closes (`false`) a window in which column width changes animate when `animateColumnResizing` is set. */ export declare function _setColumnWidthAnimation({ ctrlsSvc }: BeanCollection, enable: boolean): void; /** * Opens a width animation window for an operation that may also reorder columns, returning the function that closes it. * The transition slides cells too, so a reorder drops the window when `suppressColumnMoveAnimation` is set. */ export declare function _startReorderingColumnWidthAnimation(beans: BeanCollection): () => void; /** Drops any lingering animation window so the next width changes apply immediately, e.g. during a header drag. */ export declare function _cancelColumnWidthAnimation({ ctrlsSvc }: BeanCollection): void;