共用方式為


onmspointerhover event

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

 

Syntax

HTML Attribute <element onmspointerhover = "handler(event)">
addEventListener Method object.addEventListener("MSPointerHover", handler, useCapture)

 

Event handler parameters

  • handler [in]
    Type: Function

    Function name to be executed when the event is triggered.

Remarks

Note  For more information about controlling touch behavior and using multi-touch, see Guidelines for Building Touch-friendly Sites.

 

Note  This item described in this topic requires Windows 8.

 

See also

IHTMLCSSStyleDeclaration2::msTouchAction

MSPointerEvent

onmsgesturehold

HTMLFrameSiteEvents::onmouseover