packages/ag-grid-docs/src/dist/aui/js/aui.js
/**
       * Returns an object with the following attributes:
       *      popupCss css attributes to apply on the popup element
       *      arrowCss css attributes to apply on the arrow element
       *
       * @param popup
       * @param targetPosition position of the target element
       * @param mousePosition current mouse position
       * @param opts options
       */
Returns an object with the following attributes:
popupCss css attributes to apply on the popup element
arrowCss css attributes to apply on the arrow element

@param popup
@param targetPosition position of the target element
@param mousePosition current mouse position
@param opts options
Returns an object with the following attributes : popupCss css attributes to apply on the popup element arrowCss css attributes to apply on the arrow element @param popup @param targetPosition position of the target element @param mousePosition current mouse position @param opts options
function calculatePositions(popup, targetPosition, mousePosition, opts) {
          opts = opts || {};
          var algorithm = opts.gravity === 'w' ? calculateWestPositions : calculateNorthSouthPositions;
          return algorithm(popup, targetPosition, mousePosition, opts);
      }
function calculatePositions ( popup , targetPosition , mousePosition , opts ) { opts = opts || { } ; var algorithm = opts . gravity === 'w' ? calculateWestPositions : calculateNorthSouthPositions ; return algorithm ( popup , targetPosition , mousePosition , opts ) ; }
Returns an object with the following attributes:
      popupCss css attributes to apply on the popup element
      arrowCss css attributes to apply on the arrow element
Returns an object with the following attributes : popupCss css attributes to apply on the popup element arrowCss css attributes to apply on the arrow element