1 | import { ISignal } from '@lumino/signaling';
|
2 | import { Panel } from './panel';
|
3 | import { StackedLayout } from './stackedlayout';
|
4 | import { Widget } from './widget';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare class StackedPanel extends Panel {
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 | constructor(options?: StackedPanel.IOptions);
|
18 | /**
|
19 | * The method for hiding widgets.
|
20 | *
|
21 | * #### Notes
|
22 | * If there is only one child widget, `Display` hiding mode will be used
|
23 | * regardless of this setting.
|
24 | */
|
25 | /**
|
26 | * Set the method for hiding widgets.
|
27 | *
|
28 | * #### Notes
|
29 | * If there is only one child widget, `Display` hiding mode will be used
|
30 | * regardless of this setting.
|
31 | */
|
32 | hiddenMode: Widget.HiddenMode;
|
33 | /**
|
34 | * A signal emitted when a widget is removed from a stacked panel.
|
35 | */
|
36 | readonly widgetRemoved: ISignal<this, Widget>;
|
37 | /**
|
38 | * A message handler invoked on a `'child-added'` message.
|
39 | */
|
40 | protected onChildAdded(msg: Widget.ChildMessage): void;
|
41 | /**
|
42 | * A message handler invoked on a `'child-removed'` message.
|
43 | */
|
44 | protected onChildRemoved(msg: Widget.ChildMessage): void;
|
45 | private _widgetRemoved;
|
46 | }
|
47 | /**
|
48 | * The namespace for the `StackedPanel` class statics.
|
49 | */
|
50 | export declare namespace StackedPanel {
|
51 | |
52 |
|
53 |
|
54 | interface IOptions {
|
55 | |
56 |
|
57 |
|
58 |
|
59 |
|
60 | layout?: StackedLayout;
|
61 | }
|
62 | }
|
63 |
|
\ | No newline at end of file |