Searched refs:isVertical (Results 1 – 1 of 1) sorted by relevance
1539 var isVertical = /top|bottom/.test(placement)1540 …var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - heig…1541 var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'1544 this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)1547 Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { argument1549 .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')1550 .css(isVertical ? 'top' : 'left', '')