Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebviewsMainImpl

Implements

Index

Constructors

Properties

pluginService: HostedPluginSupport
shell: ApplicationShell
toDispose: DisposableCollection = ...
updateViewStates: DebouncedFunc<(() => void)> = ...
viewColumnService: ViewColumnService
widgetManager: WidgetManager

Methods

  • $createWebviewPanel(panelId: string, viewType: string, title: string, showOptions: WebviewPanelShowOptions, options: WebviewPanelOptions & WebviewOptions): Promise<void>
  • $disposeWebview(handle: string): Promise<void>
  • $postMessage(handle: string, value: any): Promise<boolean>
  • $registerSerializer(viewType: string): void
  • $reveal(handle: string, showOptions: WebviewPanelShowOptions): Promise<void>
  • $setBadge(handle: string, badge: undefined | ViewBadge): Promise<void>
  • $setHtml(handle: string, value: string): Promise<void>
  • $setIconPath(handle: string, iconUrl: undefined | IconUrl): Promise<void>
  • $setOptions(handle: string, options: WebviewOptions): Promise<void>
  • $setTitle(handle: string, value: string): Promise<void>
  • $unregisterSerializer(viewType: string): void
  • addOrReattachWidget(widget: WebviewWidget, showOptions: WebviewPanelShowOptions): void
  • dispose(): void
  • updateViewState(widget: WebviewWidget, viewColumn?: number): void