2.3.1.1.1 -ms-touch-action

IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

msTouchActionof type DOMString, read/write

Sets or retrieves a value that specifies whether and how a given region can be manipulated by the user (for instance, by panning or zooming).

-ms-touch-action

Value:

auto | none | [ [ [ pan-x || pan-y || pinch-zoom ? ] | manipulation ] || double-tap-zoom ? ]

Initial:

auto

Applies to:

All elements

Inherited:

no

Percentages:

N/A

Media:

interactive

Computed value:

N/A

Values have the following meaning:

auto

Initial value. Indicates the browser will determine the permitted touch behaviors for the element.

none

The element permits no default touch behaviors.

pan-x

The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content.

pan-y

The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content.

pinch-zoom

The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content. For more information about specifying content as zoomable, see the -ms-content-zooming property in [MS-CSS21E].

manipulation

The element permits touch-driven panning and pinch-zooming. This is the shorthand equivalent of "pan-x pan-y pinch-zoom".

double-tap-zoom

The element permits double-tap-zooming. The double-tap-zoom is performed on the full page. Double-tap-zoom is not available in Windows Store apps using JavaScript.

cross-slide-x

The element permits cross-sliding along the horizontal axis.

cross-slide-y

The element permits cross-sliding along the vertical axis.).