@jupyterlab/cells
Version:
JupyterLab - Notebook Cells
33 lines (32 loc) • 851 B
TypeScript
import { Message } from '@lumino/messaging';
import { Widget } from '@lumino/widgets';
/**
* A handle that allows to change input/output proportions in side-by-side mode.
*/
export declare class ResizeHandle extends Widget {
protected targetNode: HTMLElement;
constructor(targetNode: HTMLElement);
/**
* Dispose the resizer handle.
*/
dispose(): void;
/**
* Handle the DOM events for the widget.
*
* @param event - The DOM event sent to the widget.
*
*/
handleEvent(event: Event): void;
/**
* Handle `after-attach` messages.
*/
protected onAfterAttach(msg: Message): void;
/**
* Handle `before-detach` messages.
*/
protected onBeforeDetach(msg: Message): void;
private _resize;
private _isActive;
private _isDragging;
private _resizer;
}