@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface FakeWebviewView

    One view provider the fake registered.

    interface FakeWebviewView {
        html: string;
        id: string;
        options: WebviewViewRequest;
        posted: readonly unknown[];
        registered: boolean;
        resolveCount: number;
        visible: boolean;
        _hide(): void;
        _receive(message: unknown): void;
        _reveal(): Promise<void>;
    }
    Index
    html: string
    id: string
    posted: readonly unknown[]
    registered: boolean
    resolveCount: number

    How many times the provider has been asked to fill the view in.

    visible: boolean

    Whether an incarnation is currently on screen.

    • Simulates the user hiding the view, which destroys the current incarnation — the next _reveal() resolves a fresh one, as VS Code does.

      Returns void

    • Simulates the content posting a message back. Ignored while hidden.

      Parameters

      • message: unknown

      Returns void

    • Simulates the user revealing the view, which is when VS Code asks the provider to fill it in. Resolves once the provider has. Revealing a view that is already visible does nothing.

      Returns Promise<void>