handleLoaded(itemName) {
    this.toLoad = this.toLoad.filter(item => item !== itemName);

    if (this.toLoad.length === 0) {
      this.callbacks.onLoaded();
    }
  }
/**
   * Handle loading of items to determine when door loading is loaded.
   */
Handle loading of items to determine when door loading is loaded.
Handle loading of items to determine when door loading is loaded .
handleLoaded(itemName) {
    this.toLoad = this.toLoad.filter(item => item !== itemName);
    if (this.toLoad.length === 0) {
      this.callbacks.onLoaded();
    }
  }
handleLoaded ( itemName ) { this . toLoad = this . toLoad . filter ( item => item !== itemName ) ; if ( this . toLoad . length === 0 ) { this . callbacks . onLoaded ( ) ; } }
Handle loading of items to determine when door loading is loaded.
Handle loading of items to determine when door loading is loaded .