From fb5afd48c8835357ab7d7e2e20b23333560eecb2 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 20 Jun 2022 13:33:42 +0200 Subject: [PATCH] emit event loading --- apps/solidity-compiler/src/app/compiler-api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/solidity-compiler/src/app/compiler-api.ts b/apps/solidity-compiler/src/app/compiler-api.ts index 3065af630a..d877a1c9bf 100644 --- a/apps/solidity-compiler/src/app/compiler-api.ts +++ b/apps/solidity-compiler/src/app/compiler-api.ts @@ -219,6 +219,7 @@ export const CompilerApiMixin = (Base) => class extends Base { this.data.loading = true this.data.loadingUrl = url this.statusChanged({ key: 'loading', title: 'loading compiler...', type: 'info' }) + this.emit('loadingCompiler', url) } this.compiler.event.register('loadingCompiler', this.data.eventHandlers.onLoadingCompiler)