Lines Matching refs:pos

367   Carousel.prototype.to = function (pos) {  argument
371 if (pos > (this.$items.length - 1) || pos < 0) return
373 …if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })…
374 if (activeIndex == pos) return this.pause().cycle()
376 return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
1370 var pos = this.getPosition()
1379 … placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' :
1380 … placement == 'top' && pos.top - actualHeight < containerDim.top ? 'bottom' :
1381 … placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' :
1382 … placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' :
1390 var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
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…
1535 …placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidt…
1536 …placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actua…
1537 …/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + po…
1541 …Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { argument
1549 var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1550 var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1557 var leftEdgeOffset = pos.left - viewportPadding
1558 var rightEdgeOffset = pos.left + viewportPadding + actualWidth