Searched refs:isVertical (Results 1 – 1 of 1) sorted by relevance
1721 var isVertical = /top|bottom/.test(placement)1722 …var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - heig…1723 var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'1726 this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)1729 Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { argument1731 .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')1732 .css(isVertical ? 'top' : 'left', '')