UNPKG

@dialpad/dialtone-vue

Version:

Vue component library for Dialpad's design system Dialtone

14 lines 885 B
import { ResizablePanelState } from '../resizable_constants'; export interface ResizeHandler { processResizeMove: (rawCursorPosition: number, beforePanel: ResizablePanelState, afterPanel: ResizablePanelState, containerSizeValue: number, handleId?: string, allPanels?: ResizablePanelState[], beforePanelLeft?: number) => ResizeMoveResult; } export interface ResizeMoveResult { constrainedCursorPosition: number; beforePanelSize: number; afterPanelSize: number; isValidResize: boolean; } export declare function useResizeHandling(containerSize?: () => number): { processResizeMove: (rawCursorPosition: number, beforePanel: ResizablePanelState, afterPanel: ResizablePanelState, containerSizeValue: number, handleId?: string, allPanels?: ResizablePanelState[], beforePanelLeft?: number) => ResizeMoveResult; }; //# sourceMappingURL=useResizableCalculations.d.ts.map