Lines Matching refs:placement

1236     placement: 'top',  property in Tooltip.DEFAULTS
1371 var placement = typeof this.options.placement == 'function' ?
1372 this.options.placement.call(this, $tip[0], this.$element[0]) :
1373 this.options.placement
1376 var autoPlace = autoToken.test(placement)
1377 if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1382 .addClass(placement)
1392 var orgPlacement = placement
1396placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
1397placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
1398placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
1399placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
1400 placement
1404 .addClass(placement)
1407 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1409 this.applyPlacement(calculatedOffset, placement)
1427 Tooltip.prototype.applyPlacement = function (offset, placement) { argument
1460 if (placement == 'top' && actualHeight != height) {
1464 var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1469 var isVertical = /top|bottom/.test(placement)
1550 Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { argument
1551 …return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - act…
1552placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1553placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1558 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1565 if (/right|left/.test(placement)) {
1699 placement: 'right',