Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebviewPanelImpl

Hierarchy

  • WebviewPanelImpl

Implements

  • WebviewPanel

Index

Constructors

constructor

  • new WebviewPanelImpl(viewId: string, proxy: WebviewsMain, _viewType: string, _title: string, showOptions: Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine | WebviewPanelShowOptions, _options: WebviewPanelOptions, _webview: WebviewImpl): WebviewPanelImpl

Properties

Private _active

_active: boolean = true

Private _iconPath

_iconPath: undefined | Uri | { dark: Uri; light: Uri }

Private _showOptions

_showOptions: WebviewPanelShowOptions

Private _visible

_visible: boolean = true

Private isDisposed

isDisposed: boolean = false

Readonly onDidChangeViewState

onDidChangeViewState: Event<WebviewPanelOnDidChangeViewStateEvent> = ...

Readonly onDidChangeViewStateEmitter

onDidChangeViewStateEmitter: Emitter<WebviewPanelOnDidChangeViewStateEvent> = ...

Readonly onDidDispose

onDidDispose: Event<void> = ...

Readonly onDisposeEmitter

onDisposeEmitter: Emitter<void> = ...

Accessors

active

  • get active(): boolean

iconPath

  • get iconPath(): undefined | Uri | { dark: Uri; light: Uri }
  • set iconPath(iconPath: undefined | Uri | { dark: Uri; light: Uri }): void

options

  • get options(): WebviewPanelOptions

showOptions

  • get showOptions(): WebviewPanelShowOptions

title

  • get title(): string
  • set title(newTitle: string): void

viewColumn

  • get viewColumn(): undefined | Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine

viewType

  • get viewType(): string

visible

  • get visible(): boolean

webview

Methods

Private checkIsDisposed

  • checkIsDisposed(): void

dispose

  • dispose(): void

postMessage

  • postMessage(message: any): PromiseLike<boolean>

reveal

  • reveal(arg0?: Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine | Main | Left | Right | Bottom, arg1?: boolean | Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine, arg2?: boolean): void
  • Parameters

    • Optional arg0: Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine | Main | Left | Right | Bottom
    • Optional arg1: boolean | Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine
    • Optional arg2: boolean

    Returns void

setActive

  • setActive(value: boolean): void

setShowOptions

  • setShowOptions(value: WebviewPanelShowOptions): void

setViewColumn

  • setViewColumn(value: undefined | Active | Beside | One | Two | Three | Four | Five | Six | Seven | Eight | Nine): void

setVisible

  • setVisible(value: boolean): void