code: function () {
                      var rect = this._anchorElement.getBoundingClientRect();
  
                      return {
                          x: rect.left,
                          y: rect.top,
                          width: rect.width,
                          height: rect.height
                      };
                  }
docs: This function returns the anchor element's position in the Window coordinates.