src/sap.ui.table/src/sap/ui/table/TableScrollExtension.js
function(aEventListenerTargets, oTable, mOptions) {
			var fnOnTouchStartEventHandler = ScrollingHelper.onTouchStart.bind(oTable, mOptions);
			var fnOnTouchMoveEventHandler = ScrollingHelper.onTouchMoveScrolling.bind(oTable, mOptions);
			var mListeners = {};

			for (var i = 0; i < aEventListenerTargets.length; i++) {
				/* Touch events */
				// IE/Edge and Chrome on desktops and windows tablets - pointer events;
				// other browsers and tablets - touch events.
				if (Device.support.pointer && Device.system.desktop) {
					aEventListenerTargets[i].addEventListener("pointerdown", fnOnTouchStartEventHandler);
					aEventListenerTargets[i].addEventListener("pointermove", fnOnTouchMoveEventHandler,
						Device.browser.chrome ? {passive: true} : false);
				} else if (Device.support.touch) {
					aEventListenerTargets[i].addEventListener("touchstart", fnOnTouchStartEventHandler);
					aEventListenerTargets[i].addEventListener("touchmove", fnOnTouchMoveEventHandler);
				}
			}

			if (Device.support.pointer && Device.system.desktop) {
				mListeners = {pointerdown: fnOnTouchStartEventHandler, pointermove: fnOnTouchMoveEventHandler};
			} else if (Device.support.touch) {
				mListeners = {touchstart: fnOnTouchStartEventHandler, touchmove: fnOnTouchMoveEventHandler};
			}

			return mListeners;
		}
function(aEventListenerTargets, oTable, mOptions) {
			var fnOnTouchStartEventHandler = ScrollingHelper.onTouchStart.bind(oTable, mOptions);
			var fnOnTouchMoveEventHandler = ScrollingHelper.onTouchMoveScrolling.bind(oTable, mOptions);
			var mListeners = {};

			for (var i = 0; i < aEventListenerTargets.length; i++) {
				/* Touch events */
				// IE/Edge and Chrome on desktops and windows tablets - pointer events;
				// other browsers and tablets - touch events.
				if (Device.support.pointer && Device.system.desktop) {
					aEventListenerTargets[i].addEventListener("pointerdown", fnOnTouchStartEventHandler);
					aEventListenerTargets[i].addEventListener("pointermove", fnOnTouchMoveEventHandler,
						Device.browser.chrome ? {passive: true} : false);
				} else if (Device.support.touch) {
					aEventListenerTargets[i].addEventListener("touchstart", fnOnTouchStartEventHandler);
					aEventListenerTargets[i].addEventListener("touchmove", fnOnTouchMoveEventHandler);
				}
			}

			if (Device.support.pointer && Device.system.desktop) {
				mListeners = {pointerdown: fnOnTouchStartEventHandler, pointermove: fnOnTouchMoveEventHandler};
			} else if (Device.support.touch) {
				mListeners = {touchstart: fnOnTouchStartEventHandler, touchmove: fnOnTouchMoveEventHandler};
			}

			return mListeners;
		}
function ( aEventListenerTargets , oTable , mOptions ) { var fnOnTouchStartEventHandler = ScrollingHelper . onTouchStart . bind ( oTable , mOptions ) ; var fnOnTouchMoveEventHandler = ScrollingHelper . onTouchMoveScrolling . bind ( oTable , mOptions ) ; var mListeners = { } ; for ( var i = 0 ; i < aEventListenerTargets . length ; i ++ ) { /* Touch events */ // IE/Edge and Chrome on desktops and windows tablets - pointer events; // other browsers and tablets - touch events. if ( Device . support . pointer && Device . system . desktop ) { aEventListenerTargets [ i ] . addEventListener ( "pointerdown" , fnOnTouchStartEventHandler ) ; aEventListenerTargets [ i ] . addEventListener ( "pointermove" , fnOnTouchMoveEventHandler , Device . browser . chrome ? { passive : true } : false ) ; } else if ( Device . support . touch ) { aEventListenerTargets [ i ] . addEventListener ( "touchstart" , fnOnTouchStartEventHandler ) ; aEventListenerTargets [ i ] . addEventListener ( "touchmove" , fnOnTouchMoveEventHandler ) ; } } if ( Device . support . pointer && Device . system . desktop ) { mListeners = { pointerdown : fnOnTouchStartEventHandler , pointermove : fnOnTouchMoveEventHandler } ; } else if ( Device . support . touch ) { mListeners = { touchstart : fnOnTouchStartEventHandler , touchmove : fnOnTouchMoveEventHandler } ; } return mListeners ; }
Adds touch event listeners to HTMLElements.

@param {HTMLElement[]} aEventListenerTargets The elements to add listeners to.
@param {sap.ui.table.Table} oTable The table instance to be set as the context of the listeners.
@param {TableScrollExtension.EventListenerOptions} mOptions The options.
@returns {{pointerdown: Function,
pointermove: Function,
touchstart: Function,
touchmove: Function}} A key value map containing the event names as keys and listener functions as values.
Adds touch event listeners to HTMLElements .