Lines Matching refs:placement

1021     placement: 'top',  property in Tooltip.DEFAULTS
1179 var placement = typeof this.options.placement == 'function' ?
1180 this.options.placement.call(this, $tip[0], this.$element[0]) :
1181 this.options.placement
1184 var autoPlace = autoToken.test(placement)
1185 if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1190 .addClass(placement)
1201 var orgPlacement = placement
1204placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
1205placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
1206placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
1207placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
1208 placement
1212 .addClass(placement)
1215 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1217 this.applyPlacement(calculatedOffset, placement)
1235 Tooltip.prototype.applyPlacement = function (offset, placement) { argument
1268 if (placement == 'top' && actualHeight != height) {
1272 var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1277 var isVertical = /top|bottom/.test(placement)
1363 Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { argument
1364 …return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - act…
1365placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1366placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1371 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1378 if (/right|left/.test(placement)) {
1532 placement: 'right',