(props, hostElement, elementToPosition, previousPositions)
| 32140 | }; |
| 32141 | } |
| 32142 | function _positionElement(props, hostElement, elementToPosition, previousPositions) { |
| 32143 | var boundingRect = props.bounds ? _getRectangleFromIRect(props.bounds) : new (0, _utilities.Rectangle)(0, window.innerWidth - (0, _utilities.getScrollbarWidth)(), 0, window.innerHeight); |
| 32144 | var positionedElement = _positionElementRelative(props, elementToPosition, boundingRect, previousPositions); |
| 32145 | return _finalizePositionData(positionedElement, hostElement, boundingRect, props.coverTarget); |
| 32146 | } |
| 32147 | function _positionCallout(props, hostElement, callout, previousPositions, doNotFinalizeReturnEdge) { |
| 32148 | var beakWidth = props.isBeakVisible ? props.beakWidth || 0 : 0; |
| 32149 | var gap = _calculateActualBeakWidthInPixels(beakWidth) / 2 + (props.gapSpace ? props.gapSpace : 0); |
no test coverage detected