Is it possbile to detect the pinch (zoom) level for touch-devices, assuming the default level equals '1' ? The reason is that I want page-element(s) disabled (display:none) depending on the pinch level.
It would be nice if it is possible to have it in a single function that sets the zoom level value, something like:
var ZOOM = 1;
function detectPinchZoomLevel(ev){
/*
//some calculations here...
ZOOM = 1.235 ; (for example)
*/
}
document.addEventListener('touchmove',detectPinchZoomLevel}, false);
thanks for help