function suspend() {
    if ( !_suspended ) {
      treeTraversal.bfs( _menus.getRoot(), _handleSuspendTraversal );

      // Ensure body events were removed.
      _bodyDom.removeEventListener( 'mousemove', _handleMove );
      _bodyDom.removeEventListener( 'mouseleave', _handleMove );
      // Clear active menu.
      _activeMenu = null;
      _suspended = true;
    }

    return _suspended;
  }
/**
   * Remove events necessary for the desktop menu behaviors.
   * @returns {boolean} Whether it has successfully been suspended or not.
   */
Remove events necessary for the desktop menu behaviors.
@returns {boolean} Whether it has successfully been suspended or not.
Remove events necessary for the desktop menu behaviors . @returns { boolean } Whether it has successfully been suspended or not .
function suspend() {
    if ( !_suspended ) {
      treeTraversal.bfs( _menus.getRoot(), _handleSuspendTraversal );
      _bodyDom.removeEventListener( 'mousemove', _handleMove );
      _bodyDom.removeEventListener( 'mouseleave', _handleMove );
      _activeMenu = null;
      _suspended = true;
    }
    return _suspended;
  }
function suspend ( ) { if ( ! _suspended ) { treeTraversal . bfs ( _menus . getRoot ( ) , _handleSuspendTraversal ) ; _bodyDom . removeEventListener ( 'mousemove' , _handleMove ) ; _bodyDom . removeEventListener ( 'mouseleave' , _handleMove ) ; _activeMenu = null ; _suspended = true ; } return _suspended ; }
Remove events necessary for the desktop menu behaviors.
Remove events necessary for the desktop menu behaviors .
// Ensure body events were removed. // Clear active menu.