VS Code API
    Preparing search index...

    Function createWebviewPanel

    • Create and show a new webview panel.

      Parameters

      • viewType: string

        Identifies the type of the webview panel.

      • title: string

        Title of the panel.

      • showOptions: ViewColumn | { preserveFocus?: boolean; viewColumn: ViewColumn }

        Where to show the webview in the editor. If preserveFocus is set, the new webview will not take focus.

        • ViewColumn
        • { preserveFocus?: boolean; viewColumn: ViewColumn }
          • Optional ReadonlypreserveFocus?: boolean

            An optional flag that when true will stop the panel from taking focus.

          • ReadonlyviewColumn: ViewColumn

            The view column in which the WebviewPanel should be shown.

      • Optionaloptions: WebviewPanelOptions & WebviewOptions

        Settings for the new panel.

      Returns WebviewPanel

      New webview panel.