Every line of 'addeventlistener mouseover' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
122 function mouseoverListener(event) { 123 if (performance.now() - lastTouchTimestamp < DELAY_TO_NOT_BE_CONSIDERED_A_TOUCH_INITIATED_ACTION) { 124 return 125 } 126 127 const linkElement = event.target.closest('a') 128 129 if (!isPreloadable(linkElement)) { 130 return 131 } 132 133 linkElement.addEventListener('mouseout', mouseoutListener, {passive: true}) 134 135 mouseoverTimer = setTimeout(() => { 136 preload(linkElement.href) 137 mouseoverTimer = undefined 138 }, delayOnHover) 139 }
131 function mouseOverHandler(evt) { 132 // Ignore emulated mouseover events on iOS and android. Otherwise, when clicking the 133 // [x] to close a TooltipDialog it will immediately reopen (see HasDropDownHover.html). 134 if (lastTouchendTime && (new Date()).getTime() < lastTouchendTime + 500) { 135 return; 136 } 137 138 _this._mouseOverHandler(evt.target); 139 }
232 function mouseover(e) { 233 234 if (false === this.events.mouseover) { 235 return; 236 } 237 238 prevent(e); 239 240 this.fire('over'); 241 }
13 function mouseOver( element, e ) { 14 self.emit( 'mouseover' + element[ 0 ], element[ 1 ], e ); 15 }
140 function onDocumentMouseOver(event) { 141 targetRotation = stl.rotation.z; 142 143 timer = setInterval(sceneLoop, 1000/60); 144 // renderer.domElement.addEventListener('mouseout', onDocumentMouseOut, false); 145 }
86 function mouseover(e) { 87 d3.selectAll(".row text").classed("active", function (t, n) { 88 return n == e.y 89 }); 90 d3.selectAll(".column text").classed("active", function (t, n) { 91 return n == e.x 92 }) 93 }
164 onMouseOver(mouseOverHandler) { 165 this.get().on('mouseover', mouseOverHandler); 166 }
90 _setUpMouseoverHandlers() 91 { 92 var timeoutID = null; 93 94 this.element.addEventListener("mouseover", function() { 95 function showPopoverAfterDelay() 96 { 97 timeoutID = null; 98 99 var domRect = this.element.getBoundingClientRect(); 100 var bounds = new WI.Rect(domRect.left, domRect.top, domRect.width, domRect.height); 101 this._tokenAnnotator.sourceCodeTextEditor.showPopoverForTypes(this._typeDescription, bounds, this._popoverTitle); 102 } 103 104 if (this._shouldShowPopover()) 105 timeoutID = setTimeout(showPopoverAfterDelay.bind(this), WI.TypeTokenView.DelayHoverTime); 106 }.bind(this)); 107 108 this.element.addEventListener("mouseout", function() { 109 if (timeoutID) 110 clearTimeout(timeoutID); 111 }); 112 }