Methods
$createWebviewPanel
- $createWebviewPanel(handle: string, viewType: string, title: string, showOptions: WebviewPanelShowOptions, options: WebviewPanelOptions & WebviewOptions): void
Parameters
handle: string
viewType: string
title: string
showOptions: WebviewPanelShowOptions
options: WebviewPanelOptions & WebviewOptions
Returns void
$disposeWebview
- $disposeWebview(handle: string): void
$postMessage
- $postMessage(handle: string, value: any): Thenable<boolean>
Parameters
Returns Thenable<boolean>
$registerSerializer
- $registerSerializer(viewType: string): void
$reveal
- $reveal(handle: string, showOptions: WebviewPanelShowOptions): void
Parameters
handle: string
showOptions: WebviewPanelShowOptions
Returns void
$setBadge
- $setBadge(handle: string, badge: undefined | ViewBadge): void
Parameters
handle: string
badge: undefined | ViewBadge
Returns void
$setHtml
- $setHtml(handle: string, value: string): void
Parameters
handle: string
value: string
Returns void
$setIconPath
- $setIconPath(handle: string, value: undefined | IconUrl): void
Parameters
handle: string
value: undefined | IconUrl
Returns void
$setOptions
- $setOptions(handle: string, options: WebviewOptions): void
Parameters
handle: string
options: WebviewOptions
Returns void
$setTitle
- $setTitle(handle: string, value: string): void
Parameters
handle: string
value: string
Returns void
$unregisterSerializer
- $unregisterSerializer(viewType: string): void