Lines Matching refs:placement

1219     placement: 'top',  property in Tooltip.DEFAULTS
1354 var placement = typeof this.options.placement == 'function' ?
1355 this.options.placement.call(this, $tip[0], this.$element[0]) :
1356 this.options.placement
1359 var autoPlace = autoToken.test(placement)
1360 if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1365 .addClass(placement)
1375 var orgPlacement = placement
1379placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
1380placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
1381placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
1382placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
1383 placement
1387 .addClass(placement)
1390 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1392 this.applyPlacement(calculatedOffset, placement)
1410 Tooltip.prototype.applyPlacement = function (offset, placement) { argument
1443 if (placement == 'top' && actualHeight != height) {
1447 var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1452 var isVertical = /top|bottom/.test(placement)
1533 Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { argument
1534 …return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - act…
1535placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1536placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1541 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1548 if (/right|left/.test(placement)) {
1689 placement: 'right',