mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 21:48:45 +02:00
N°8641 - Dashboard editor front-end first commit for Form SDK integration.
* No dashlet edition * Dashboard are not persisted * Unable to load a dashboard from an endpoint (refresh) * Grid library need proper npm integration
This commit is contained in:
30
node_modules/gridstack/dist/dd-resizable.d.ts
generated
vendored
Normal file
30
node_modules/gridstack/dist/dd-resizable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* dd-resizable.ts 12.3.2
|
||||
* Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license
|
||||
*/
|
||||
import { DDBaseImplement, HTMLElementExtendOpt } from './dd-base-impl';
|
||||
import { DDUIData, GridItemHTMLElement } from './types';
|
||||
export interface DDResizableOpt {
|
||||
autoHide?: boolean;
|
||||
handles?: string;
|
||||
maxHeight?: number;
|
||||
maxHeightMoveUp?: number;
|
||||
maxWidth?: number;
|
||||
maxWidthMoveLeft?: number;
|
||||
minHeight?: number;
|
||||
minWidth?: number;
|
||||
start?: (event: Event, ui: DDUIData) => void;
|
||||
stop?: (event: Event) => void;
|
||||
resize?: (event: Event, ui: DDUIData) => void;
|
||||
}
|
||||
export declare class DDResizable extends DDBaseImplement implements HTMLElementExtendOpt<DDResizableOpt> {
|
||||
el: GridItemHTMLElement;
|
||||
option: DDResizableOpt;
|
||||
constructor(el: GridItemHTMLElement, option?: DDResizableOpt);
|
||||
on(event: 'resizestart' | 'resize' | 'resizestop', callback: (event: DragEvent) => void): void;
|
||||
off(event: 'resizestart' | 'resize' | 'resizestop'): void;
|
||||
enable(): void;
|
||||
disable(): void;
|
||||
destroy(): void;
|
||||
updateOption(opts: DDResizableOpt): DDResizable;
|
||||
}
|
||||
Reference in New Issue
Block a user