src/sap.m/src/sap/m/Support.js
function onTouchStart(oEvent) {
				if (oEvent.touches) {
					var currentTouches = oEvent.touches.length;

					if (Device.browser.mobile &&
						(Device.browser.name === Device.browser.BROWSER.INTERNET_EXPLORER ||// TODO remove after 1.62 version
						Device.browser.name === Device.browser.BROWSER.EDGE)) {
						windowsPhoneTouches = currentTouches;
					}


					if (currentTouches > maxFingersAllowed) {
						document.removeEventListener('touchend', onTouchEnd);
						return;
					}

					switch (currentTouches) {

						case holdFingersNumber:
							startTime = Date.now();
							document.addEventListener('touchend', onTouchEnd);
							break;

						case maxFingersAllowed:
							if (startTime) {
								timeDiff = Date.now() - startTime;
								lastTouchUID = oEvent.touches[currentTouches - 1].identifier;
							}
							break;
					}
				}
			}
function onTouchStart(oEvent) {
				if (oEvent.touches) {
					var currentTouches = oEvent.touches.length;

					if (Device.browser.mobile &&
						(Device.browser.name === Device.browser.BROWSER.INTERNET_EXPLORER ||// TODO remove after 1.62 version
						Device.browser.name === Device.browser.BROWSER.EDGE)) {
						windowsPhoneTouches = currentTouches;
					}


					if (currentTouches > maxFingersAllowed) {
						document.removeEventListener('touchend', onTouchEnd);
						return;
					}

					switch (currentTouches) {

						case holdFingersNumber:
							startTime = Date.now();
							document.addEventListener('touchend', onTouchEnd);
							break;

						case maxFingersAllowed:
							if (startTime) {
								timeDiff = Date.now() - startTime;
								lastTouchUID = oEvent.touches[currentTouches - 1].identifier;
							}
							break;
					}
				}
			}
function onTouchStart ( oEvent ) { if ( oEvent . touches ) { var currentTouches = oEvent . touches . length ; if ( Device . browser . mobile && ( Device . browser . name === Device . browser . BROWSER . INTERNET_EXPLORER || // TODO remove after 1.62 version Device . browser . name === Device . browser . BROWSER . EDGE ) ) { windowsPhoneTouches = currentTouches ; } if ( currentTouches > maxFingersAllowed ) { document . removeEventListener ( 'touchend' , onTouchEnd ) ; return ; } switch ( currentTouches ) { case holdFingersNumber : startTime = Date . now ( ) ; document . addEventListener ( 'touchend' , onTouchEnd ) ; break ; case maxFingersAllowed : if ( startTime ) { timeDiff = Date . now ( ) - startTime ; lastTouchUID = oEvent . touches [ currentTouches - 1 ] . identifier ; } break ; } } }
function is triggered when a touch is detected
function is triggered when a touch is detected