interface WebviewsMain { $createWebviewPanel(handle,
viewType,
title,
showOptions,
options): void; $disposeWebview(handle): void; $postMessage(handle,
value): Thenable<boolean>; $registerSerializer(viewType): void; $reveal(handle,
showOptions): void; $setBadge(handle,
badge): void; $setHtml(handle,
value): void; $setIconPath(handle,
value): void; $setOptions(handle,
options): void; $setTitle(handle,
value): void; $unregisterSerializer(viewType): void; } Methods
$createWebviewPanel
- $createWebviewPanel(handle, viewType, title, showOptions, options): void
Returns void
$disposeWebview
- $disposeWebview(handle): void
Returns void
$postMessage
- $postMessage(handle, value): Thenable<boolean>
Returns Thenable<boolean>
$registerSerializer
- $registerSerializer(viewType): void
Returns void
$reveal
- $reveal(handle, showOptions): void
Returns void
$setBadge
- $setBadge(handle, badge): void
Returns void
$setHtml
- $setHtml(handle, value): void
Parameters
- handle: string
- value: string
Returns void
$setIconPath
- $setIconPath(handle, value): void
Parameters
- handle: string
- value: undefined | IconUrl
Returns void
$setOptions
- $setOptions(handle, options): void
Returns void
$setTitle
- $setTitle(handle, value): void
Parameters
- handle: string
- value: string
Returns void
$unregisterSerializer
- $unregisterSerializer(viewType): void
Returns void