MSPointerHover

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

MSPointerHover is triggered when a contact (normally a pen) moves over an element without touching the surface.

This proprietary method is specific to Internet Explorer and, as of Internet Explorer 11, this event has been deprecated. Starting with IE11 the pointermove event will fire for all pen movement (regardless if its hovering or not).

Syntax

object.addEventListener("MSPointerHover", handler, useCapture)

Event handler parameters

  • handler[in], type=function, Function name to be executed when the event is triggered.

Synchronous: Yes

Bubbles: Yes

Cancelable: Yes

Example

var eventTypes = [
   "MSPointerUp", "MSPointerDown", "MSPointerOut", 
   "MSPointerOver", "MOSPointerCancel", "MSPointerHover"];


eventTypes.forEach(function (eventType) {
   targetElem.addEventListener(eventType, function (e) {
   }), true;
});

See also

Document Tags and Contributors

Contributors to this page: ExE-Boss, mattwojo, erikadoyle
Last updated by: ExE-Boss,