mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
notebook webview test
This commit is contained in:
13
extensions/vscode-notebook-tests/src/customRenderer.js
Normal file
13
extensions/vscode-notebook-tests/src/customRenderer.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
const vscode = acquireVsCodeApi();
|
||||
|
||||
vscode.postMessage({
|
||||
type: 'custom_renderer_initialize',
|
||||
payload: {
|
||||
firstMessage: true
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user