feat: add dragMode option to ResizerOptions interface for flexible resizing behavior

This commit is contained in:
Luís Landeiro Ribeiro
2025-04-15 13:59:30 +01:00
parent b4b47f4d55
commit 15091f7fad
5 changed files with 18 additions and 5 deletions

4
dist/index.d.ts vendored
View File

@@ -4060,6 +4060,10 @@ export interface ResizerOptions {
* Where to append resize container (default body element).
*/
appendTo?: HTMLElement;
/**
* Drag mode
*/
dragMode?: "absolute" | "relative";
}
export type Handlers = Record<string, HTMLElement | null>;
declare class Resizer {