@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
23 lines (21 loc) • 1.11 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Disposable, IDisposable } from '@sussudio/base/common/lifecycle.mjs';
import { ILayoutService } from '../../layout/browser/layoutService.mjs';
import { IContextViewDelegate, IContextViewService } from './contextView';
export declare class ContextViewService extends Disposable implements IContextViewService {
private readonly layoutService;
readonly _serviceBrand: undefined;
private currentViewDisposable;
private contextView;
private container;
private shadowRoot;
constructor(layoutService: ILayoutService);
private setContainer;
showContextView(delegate: IContextViewDelegate, container?: HTMLElement, shadowRoot?: boolean): IDisposable;
getContextViewElement(): HTMLElement;
layout(): void;
hideContextView(data?: any): void;
}