async _createApp(config) {
    if (this.created) {
      return Promise.resolve();
    }
    /* eslint-disable-next-line import/no-unresolved */
    await import('web-module://src/arc-electron.js');
    const app = document.createElement('arc-electron');
    app.id = 'app';
    app.config = config;
    app.componentsDir = 'web_modules';
    this._setupApp(app);
    document.body.appendChild(app);
    this.created = true;
  }
/**
   * Creates application main element.
   *
   * @param {Object} config Current configuration.
   * @return {Promise} Promise resolved when element is loaded and ready
   * rendered.
   */
Creates application main element.
@param {Object} config Current configuration.
@return {Promise} Promise resolved when element is loaded and ready
rendered.
Creates application main element . @param { Object } config Current configuration . @return { Promise } Promise resolved when element is loaded and ready rendered .
async _createApp(config) {
    if (this.created) {
      return Promise.resolve();
    }
    await import('web-module://src/arc-electron.js');
    const app = document.createElement('arc-electron');
    app.id = 'app';
    app.config = config;
    app.componentsDir = 'web_modules';
    this._setupApp(app);
    document.body.appendChild(app);
    this.created = true;
  }
async _createApp ( config ) { if ( this . created ) { return Promise . resolve ( ) ; } await import ( 'web-module://src/arc-electron.js' ) ; const app = document . createElement ( 'arc-electron' ) ; app . id = 'app' ; app . config = config ; app . componentsDir = 'web_modules' ; this . _setupApp ( app ) ; document . body . appendChild ( app ) ; this . created = true ; }
Creates application main element.
Creates application main element .
/* eslint-disable-next-line import/no-unresolved */