UNPKG

ag-grid-community

Version:

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

12 lines (11 loc) 805 B
import { BaseDragService } from '../agStack/core/baseDragService'; import type { BeanCollection } from '../context/context'; import type { AgEventTypeParams } from '../events'; import type { GridOptionsWithDefaults } from '../gridOptionsDefault'; import type { GridOptionsService } from '../gridOptionsService'; import type { AgGridCommon } from '../interfaces/iCommon'; /** Adds drag listening onto an element. In AG Grid this is used twice, first is resizing columns, * second is moving the columns and column groups around (ie the 'drag' part of Drag and Drop. */ export declare class DragService extends BaseDragService<BeanCollection, GridOptionsWithDefaults, AgEventTypeParams, AgGridCommon<any, any>, GridOptionsService> { protected shouldPreventMouseEvent(mouseEvent: MouseEvent): boolean; }