active-table
Version:
Framework agnostic table component for editable data experience
27 lines • 1.14 kB
TypeScript
import { ActiveTable } from '../../../activeTable';
import { Drag } from './drag';
export declare class DragColumn extends Drag {
private static readonly HEADER_CELL_CLONE_CLASS;
private static readonly HEADER_CELL_CLONE_ANIMATION_CLASS;
private static INITIALISING_DRAG_PX;
private static ACTIVE_CELL_LEFT_PX;
private static IS_MOUSE_DOWN;
private static CLONE_CELLS;
private static REAL_CELLS;
private static DIVIDERS;
private static ACTIVE_INDEX;
private static THRESHOLD_RIGHT;
private static THRESHOLD_LEFT;
private static MAX_LEFT;
private static MIN_LEFT;
private static setHeaderElementsToDefault;
private static applyCloneHeaderCell;
private static getThreshold;
private static initiateDragState;
private static processHeaderCellsToDrag;
static applyEventsToElement(at: ActiveTable, draggableElement: HTMLElement, cellElement: HTMLElement): void;
private static switch;
static windowDrag(at: ActiveTable, dragCell: HTMLElement, event: MouseEvent): void;
static windowMouseUp(at: ActiveTable): void;
}
//# sourceMappingURL=dragColumn.d.ts.map