Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
20 lines
713 B
Plaintext
20 lines
713 B
Plaintext
/**
|
|
* dd-resizable-handle.ts 12.6.0
|
|
* Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license
|
|
*/
|
|
import { GridItemHTMLElement } from './gridstack';
|
|
export interface DDResizableHandleOpt {
|
|
element?: string | HTMLElement;
|
|
start?: (event: MouseEvent) => void;
|
|
move?: (event: MouseEvent) => void;
|
|
stop?: (event: MouseEvent) => void;
|
|
}
|
|
export declare class DDResizableHandle {
|
|
protected host: GridItemHTMLElement;
|
|
protected dir: string;
|
|
protected option: DDResizableHandleOpt;
|
|
constructor(host: GridItemHTMLElement, dir: string, option: DDResizableHandleOpt);
|
|
/** call this when resize handle needs to be removed and cleaned up */
|
|
destroy(): DDResizableHandle;
|
|
}
|