emit event loading

editorcontextDummy
filip mertens 2 years ago
parent ac8707550d
commit fb5afd48c8
  1. 1
      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.loading = true
this.data.loadingUrl = url this.data.loadingUrl = url
this.statusChanged({ key: 'loading', title: 'loading compiler...', type: 'info' }) this.statusChanged({ key: 'loading', title: 'loading compiler...', type: 'info' })
this.emit('loadingCompiler', url)
} }
this.compiler.event.register('loadingCompiler', this.data.eventHandlers.onLoadingCompiler) this.compiler.event.register('loadingCompiler', this.data.eventHandlers.onLoadingCompiler)

Loading…
Cancel
Save