function cleanUpRuntimeEvents() {
            // Remove all touch events added during 'onDown' as well.
            document.removeEventListener('touchmove', onMove, getPassiveSupported() ? { passive: false } : false);
            document.removeEventListener('touchend', onUp);
            document.removeEventListener('touchcancel', stopTracking);
            document.removeEventListener('mousemove', onMove, getPassiveSupported() ? { passive: false } : false);
            document.removeEventListener('mouseup', onUp);
        }
function cleanUpRuntimeEvents() {
            // Remove all touch events added during 'onDown' as well.
            document.removeEventListener('touchmove', onMove, getPassiveSupported() ? { passive: false } : false);
            document.removeEventListener('touchend', onUp);
            document.removeEventListener('touchcancel', stopTracking);
            document.removeEventListener('mousemove', onMove, getPassiveSupported() ? { passive: false } : false);
            document.removeEventListener('mouseup', onUp);
        }
function cleanUpRuntimeEvents ( ) { // Remove all touch events added during 'onDown' as well. document . removeEventListener ( 'touchmove' , onMove , getPassiveSupported ( ) ? { passive : false } : false ) ; document . removeEventListener ( 'touchend' , onUp ) ; document . removeEventListener ( 'touchcancel' , stopTracking ) ; document . removeEventListener ( 'mousemove' , onMove , getPassiveSupported ( ) ? { passive : false } : false ) ; document . removeEventListener ( 'mouseup' , onUp ) ; }
Removes all events set by this instance during runtime
Removes all events set by this instance during runtime