1 | import { Emitter, Event } from '../../common';
|
2 | import { Disposable, DisposableCollection } from '../../common/disposable';
|
3 | import { Coordinate } from '../context-menu-renderer';
|
4 | import { RendererHost } from '../widgets/react-renderer';
|
5 | export interface BreadcrumbPopupContainerFactory {
|
6 | (parent: HTMLElement, breadcrumbId: string, position: Coordinate): BreadcrumbPopupContainer;
|
7 | }
|
8 | export declare const BreadcrumbPopupContainerFactory: unique symbol;
|
9 | export declare type BreadcrumbID = string;
|
10 | export declare const BreadcrumbID: unique symbol;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare class BreadcrumbPopupContainer implements Disposable {
|
19 | protected readonly parent: RendererHost;
|
20 | readonly breadcrumbId: BreadcrumbID;
|
21 | protected readonly position: Coordinate;
|
22 | protected onDidDisposeEmitter: Emitter<void>;
|
23 | protected toDispose: DisposableCollection;
|
24 | get onDidDispose(): Event<void>;
|
25 | protected _container: HTMLElement;
|
26 | get container(): HTMLElement;
|
27 | protected _isOpen: boolean;
|
28 | get isOpen(): boolean;
|
29 | protected init(): void;
|
30 | protected createPopupDiv(position: Coordinate): HTMLDivElement;
|
31 | protected onFocusOut: (event: FocusEvent) => void;
|
32 | protected escFunction: (event: KeyboardEvent) => void;
|
33 | dispose(): void;
|
34 | }
|
35 |
|
\ | No newline at end of file |