code: function ElementRect(element) {
      _classCallCheck(this, ElementRect);
  
      this._element = element;
  
      /**
       * Returns the width of the current element.
       *
       * @type {Number}
       */
      this.width = this.boundingRect.width;
  
      /**
       * Returns the height of the current element.
       *
       * @type {Number}
       */
      this.height = this.boundingRect.height;
  
      /**
       * Returns the size (the biggest side) of the current element.
       *
       * @type {number}
       */
      this.size = Math.max(this.width, this.height);
  
      return this;
    }
docs: Initializes a new instance of the `ElementRect` class with the specified `element`.
  
  @constructs ElementRect
  @param {HTMLElement} element - The DOM element to get metrics from
  @returns {ElementRect} The new instance of a class.