updateSize(width, height) {
    if (!this.__settings) {
      this.__settings = {};
    }
    if (!this.__settings.size) {
      this.__settings.size = {};
    }
    this.__settings.size.width = width;
    this.__settings.size.height = height;
    this._storeDebounce();
  }
/**
   * Updates width and height of the window.
   * This task is debounced so it's safe to call it more than once in a short
   * period of time.
   *
   * @param {Number} width Width of the window.
   * @param {Number} height Heigth of the window.
   */
Updates width and height of the window.
This task is debounced so it's safe to call it more than once in a short
period of time.

@param {Number} width Width of the window.
@param {Number} height Heigth of the window.
Updates width and height of the window . This task is debounced so it ' s safe to call it more than once in a short period of time . @param { Number } width Width of the window . @param { Number } height Heigth of the window .
updateSize(width, height) {
    if (!this.__settings) {
      this.__settings = {};
    }
    if (!this.__settings.size) {
      this.__settings.size = {};
    }
    this.__settings.size.width = width;
    this.__settings.size.height = height;
    this._storeDebounce();
  }
updateSize ( width , height ) { if ( ! this . __settings ) { this . __settings = { } ; } if ( ! this . __settings . size ) { this . __settings . size = { } ; } this . __settings . size . width = width ; this . __settings . size . height = height ; this . _storeDebounce ( ) ; }
Updates width and height of the window.
Updates width and height of the window .