Allow updating webview settings after creation

Fixes #51733
This commit is contained in:
Matt Bierner
2018-06-13 14:35:15 -07:00
parent 612806b804
commit 68afee908e
8 changed files with 44 additions and 13 deletions

View File

@@ -428,6 +428,7 @@ export interface MainThreadWebviewsShape extends IDisposable {
$reveal(handle: WebviewPanelHandle, viewColumn: EditorViewColumn | null, preserveFocus: boolean): void;
$setTitle(handle: WebviewPanelHandle, value: string): void;
$setHtml(handle: WebviewPanelHandle, value: string): void;
$setOptions(handle: WebviewPanelHandle, options: vscode.WebviewOptions): void;
$postMessage(handle: WebviewPanelHandle, value: any): Thenable<boolean>;
$registerSerializer(viewType: string): void;