css.properties

touch-action

The touch-action property specifies how touch gestures are handled.

Formal Syntax

auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation

See specification

JavaScript Access

// Access via element.style
element.style.touchAction = 'auto';

Browser Support

standard | MDN · Spec · Spec

FeatureChromeFirefoxSafariEdge
touch-action36521312
manipulation36521312
none36521312
pan-down5579
pan-left5579
pan-right5579
pan-up5579
pan-x36521312
pan-y36521312
pinch-zoom56851312

Related Properties