demo/www/lib/ionic/js/ionic.bundle.js
function onContentTap(gestureEvt) {
          if (sideMenuCtrl.getOpenAmount() !== 0) {
            sideMenuCtrl.close();
            gestureEvt.gesture.srcEvent.preventDefault();
            startCoord = null;
            primaryScrollAxis = null;
          } else if (!startCoord) {
            startCoord = ionic.tap.pointerCoord(gestureEvt.gesture.srcEvent);
          }
        }
function onContentTap(gestureEvt) {
          if (sideMenuCtrl.getOpenAmount() !== 0) {
            sideMenuCtrl.close();
            gestureEvt.gesture.srcEvent.preventDefault();
            startCoord = null;
            primaryScrollAxis = null;
          } else if (!startCoord) {
            startCoord = ionic.tap.pointerCoord(gestureEvt.gesture.srcEvent);
          }
        }
function onContentTap ( gestureEvt ) { if ( sideMenuCtrl . getOpenAmount ( ) !== 0 ) { sideMenuCtrl . close ( ) ; gestureEvt . gesture . srcEvent . preventDefault ( ) ; startCoord = null ; primaryScrollAxis = null ; } else if ( ! startCoord ) { startCoord = ionic . tap . pointerCoord ( gestureEvt . gesture . srcEvent ) ; } }
Listen for taps on the content to close the menu
Listen for taps on the content to close the menu