Lines Matching refs:placement

1291     placement: 'top',  property in Tooltip.DEFAULTS
1449 var placement = typeof this.options.placement == 'function' ?
1450 this.options.placement.call(this, $tip[0], this.$element[0]) :
1451 this.options.placement
1454 var autoPlace = autoToken.test(placement)
1455 if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1460 .addClass(placement)
1471 var orgPlacement = placement
1474placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
1475placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
1476placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
1477placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
1478 placement
1482 .addClass(placement)
1485 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1487 this.applyPlacement(calculatedOffset, placement)
1505 Tooltip.prototype.applyPlacement = function (offset, placement) { argument
1538 if (placement == 'top' && actualHeight != height) {
1542 var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1547 var isVertical = /top|bottom/.test(placement)
1633 Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { argument
1634 …return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - act…
1635placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1636placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1641 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1648 if (/right|left/.test(placement)) {
1802 placement: 'right',