UNPKG

851 BTypeScriptView Raw
1import { Message } from '@lumino/messaging';
2import { Widget } from '@lumino/widgets';
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 constructor(targetNode: HTMLElement);
9 /**
10 * Dispose the resizer handle.
11 */
12 dispose(): void;
13 /**
14 * Handle the DOM events for the widget.
15 *
16 * @param event - The DOM event sent to the widget.
17 *
18 */
19 handleEvent(event: Event): void;
20 /**
21 * Handle `after-attach` messages.
22 */
23 protected onAfterAttach(msg: Message): void;
24 /**
25 * Handle `before-detach` messages.
26 */
27 protected onBeforeDetach(msg: Message): void;
28 private _resize;
29 private _isActive;
30 private _isDragging;
31 private _resizer;
32}