UNPKG

653 BTypeScriptView Raw
1import { Widget } from '@lumino/widgets';
2import { Message } from '@lumino/messaging';
3/**
4 * A handle that allows to change input/output proportions in side-by-side mode.
5 */
6export declare class ResizeHandle extends Widget {
7 protected targetNode: HTMLElement;
8 private _isActive;
9 private _isDragging;
10 private _protectedWidth;
11 constructor(targetNode: HTMLElement);
12 protected onAfterAttach(msg: Message): void;
13 protected onAfterDetach(msg: Message): void;
14 /**
15 * Handle the DOM events for the widget.
16 *
17 * @param event - The DOM event sent to the widget.
18 *
19 */
20 handleEvent(event: Event): void;
21}