1 | import * as React from 'react';
|
2 | import { ReactWidget } from '@jupyterlab/apputils';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare abstract class Placeholder extends ReactWidget {
|
11 | |
12 |
|
13 |
|
14 | constructor(callback: (e: React.MouseEvent<HTMLDivElement>) => void);
|
15 | /**
|
16 | * Handle the click event.
|
17 | */
|
18 | protected handleClick(e: React.MouseEvent<HTMLDivElement>): void;
|
19 | private _callback;
|
20 | }
|
21 | /**
|
22 | * The input placeholder class.
|
23 | */
|
24 | export declare class InputPlaceholder extends Placeholder {
|
25 | |
26 |
|
27 |
|
28 | constructor(callback: (e: React.MouseEvent<HTMLDivElement>) => void);
|
29 | /**
|
30 | * Render the input placeholder using the virtual DOM.
|
31 | */
|
32 | protected render(): React.ReactElement<any>[];
|
33 | }
|
34 | /**
|
35 | * The output placeholder class.
|
36 | */
|
37 | export declare class OutputPlaceholder extends Placeholder {
|
38 | |
39 |
|
40 |
|
41 | constructor(callback: (e: React.MouseEvent<HTMLDivElement>) => void);
|
42 | /**
|
43 | * Render the output placeholder using the virtual DOM.
|
44 | */
|
45 | protected render(): React.ReactElement<any>[];
|
46 | }
|