UNPKG

ag-grid-enterprise

Version:

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

7 lines (6 loc) 385 B
import type { BeanCollection } from 'ag-grid-community'; /** * FF and Safari remove text selections when the focus changes. This is inconsistent with Chrome, whose behaviour * we prefer in this case. This utility preserves whatever text selection exists before the given action is taken. */ export declare function _preserveRangesWhile(beans: BeanCollection, fn: () => void): void;