Use onDid* type event names in webview

This commit is contained in:
Matt Bierner
2018-02-26 15:40:15 -08:00
parent 978beebd0a
commit 4d95590a81
3 changed files with 7 additions and 7 deletions

View File

@@ -19,10 +19,10 @@ export class ExtHostWebview implements vscode.Webview {
private _viewColumn: vscode.ViewColumn;
public readonly onMessageEmitter = new Emitter<any>();
public readonly onMessage: Event<any> = this.onMessageEmitter.event;
public readonly onDidReceiveMessage: Event<any> = this.onMessageEmitter.event;
public readonly onDisposeEmitter = new Emitter<void>();
public readonly onDispose: Event<void> = this.onDisposeEmitter.event;
public readonly onDidDispose: Event<void> = this.onDisposeEmitter.event;
public readonly onDidChangeViewColumnEmitter = new Emitter<vscode.ViewColumn>();
public readonly onDidChangeViewColumn: Event<vscode.ViewColumn> = this.onDidChangeViewColumnEmitter.event;