共用方式為


onmsgesturedoubletap event

[This event was supported in pre-release versions of Windows Internet Explorer but is not supported in the current version of Internet Explorer.]

Triggered when user interaction results in a double tap gesture.

 

Syntax

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

 

Event handler parameters

  • val [in]
    Type: Function

    Function name to be executed when the event is triggered.

Examples

function gestureDoubleTapListener (event)
{
    var str, element;
    str = "Received gesturedoubletap at " + event.clientX + ":" + event.clientY;
    element = document.getElementById("results");
    element.innerHTML = str;
}