UNPKG

929 BTypeScriptView Raw
1import { Widget } from '@lumino/widgets';
2import { Message } from '@lumino/messaging';
3import { Notebook } from './widget';
4/**
5 * A footer widget added after the last cell of the notebook.
6 */
7export declare class NotebookFooter extends Widget {
8 protected notebook: Notebook;
9 /**
10 * Construct a footer widget.
11 */
12 constructor(notebook: Notebook);
13 /**
14 * Handle incoming events.
15 */
16 handleEvent(event: Event): void;
17 /**
18 * On single click (mouse event), insert a cell below (at the end of the notebook as default behavior).
19 */
20 protected onClick(): void;
21 /**
22 * On arrow up key pressed (keydown keyboard event), blur the footer and switch to command mode.
23 */
24 protected onArrowUp(): void;
25 protected onAfterAttach(msg: Message): void;
26 /**
27 * Handle `before-detach` messages for the widget.
28 */
29 protected onBeforeDetach(msg: Message): void;
30}