UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components

24 lines (23 loc) 721 B
import { BeanStub } from "../context/beanStub"; export interface HorizontalResizeParams { eResizeBar: HTMLElement; dragStartPixels?: number; onResizeStart: (shiftKey: boolean) => void; onResizing: (delta: number) => void; onResizeEnd: (delta: number) => void; } export declare class HorizontalResizeService extends BeanStub { private dragService; private eGridDiv; private dragStartX; private resizeAmount; private oldBodyCursor; private oldMsUserSelect; private oldWebkitUserSelect; addResizeBar(params: HorizontalResizeParams): () => void; private onDragStart; private setResizeIcons; private onDragStop; private resetIcons; private onDragging; }