Lines Matching refs:pos

381   Carousel.prototype.to = function (pos) {  argument
385 if (pos > (this.$items.length - 1) || pos < 0) return
387 …if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })…
388 if (activeIndex == pos) return this.pause().cycle()
390 return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
1466 var pos = this.getPosition()
1474 … placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
1475 … placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
1476 … placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
1477 … placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
1485 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
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…
1635 …placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1636 …placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1637 …/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + po…
1641 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1649 var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1650 var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1657 var leftEdgeOffset = pos.left - viewportPadding
1658 var rightEdgeOffset = pos.left + viewportPadding + actualWidth