add create webview event and fix fire event in model view (#2405)

This commit is contained in:
Abbie Petchtes
2018-09-05 14:07:52 -07:00
committed by GitHub
parent b7f4f6af3a
commit 534bbe9b9a
17 changed files with 39 additions and 20 deletions

View File

@@ -82,7 +82,7 @@ export default class WebViewComponent extends ComponentBase implements IComponen
this._register(this._webview.onDidClickLink(link => this.onDidClickLink(link)));
this._register(this._webview.onMessage(e => {
this._onEventEmitter.fire({
this.fireEvent({
eventType: ComponentEventType.onMessage,
args: e
});