UNPKG

sussudio

Version:

An unofficial VS Code Internal API

22 lines (21 loc) 1.14 kB
/*--------------------------------------------------------------------------------------------- * 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 "../../../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; }