Lines Matching refs:element
21 * Border element of drag handle.
73 * Obtains the scrolled position in the element of mouse pointer from the mouse
76 * @param {HTMLElement} element Element that has the scroll bars.
80 DragSelector.getScrolledPosition = function(element, event) {
81 if (!element.cachedBounds) {
82 element.cachedBounds = element.getBoundingClientRect();
83 if (!element.cachedBounds)
86 var rect = element.cachedBounds;
88 x: event.clientX - rect.left + element.scrollLeft,
89 y: event.clientY - rect.top + element.scrollTop
121 // Create and add the border element