UNPKG

gridstack

Version:

TypeScript/JS lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)

15 lines (14 loc) 496 B
/** * dd-resizable-handle.ts 5.0 * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ export interface DDResizableHandleOpt { start?: (event: any) => void; move?: (event: any) => void; stop?: (event: any) => void; } export declare class DDResizableHandle { constructor(host: HTMLElement, direction: string, option: DDResizableHandleOpt); /** call this when resize handle needs to be removed and cleaned up */ destroy(): DDResizableHandle; }