code: function($input) {
          var inputOffset = $input.offset();
          var inputHeight = $input.outerHeight();
          var wrapperOffset = this.domState.getOffset();
  
          return {
              top: inputOffset.top - wrapperOffset.top + inputHeight,
              left: inputOffset.left - wrapperOffset.left
          };
      }
docs: Calculates the position of the layer and returns the object that contains css properties.
  @param {jQuery} $input - input element
  @returns {Object}
  @private