共用方式為


onmscontentzoom event

Event fires when a user zooms the element.

 

Syntax

HTML Attribute <element onmscontentzoom = "handler(event)">
addEventListener Method object.addEventListener("MSContentZoom", 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