ion-spaced-menu.js
// Listen for taps on the content to close the menu
Listen for taps on the content to close the menu
Listen for taps on the content to close the menu
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