Lines Matching refs:pos

351   Carousel.prototype.to = function (pos) {  argument
355 if (pos > (this.$items.length - 1) || pos < 0) return
357 …if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })…
358 if (activeIndex == pos) return this.pause().cycle()
360 return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
1387 var pos = this.getPosition()
1396 … placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
1397 … placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
1398 … placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
1399 … placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
1407 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
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…
1552 …placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1553 …placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1554 …/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + po…
1558 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1566 var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1567 var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1574 var leftEdgeOffset = pos.left - viewportPadding
1575 var rightEdgeOffset = pos.left + viewportPadding + actualWidth