function _handleSuspendTraversal( node ) {
    var nLevel = node.level;
    var menu = node.data;

    if ( nLevel === 1 ) {
      menu.clearTransitions();
      menu.getDom().content.classList.remove( 'u-invisible' );

      if ( menu.isExpanded() ) {
        menu.collapse();
      }
    } else if ( nLevel === 2 ) {
      menu.resume();
    }
  }
/**
   * Iterate over the sub menus and handle setting the suspended state.
   * @param {TreeNode} node - The data source for the current menu.
   */
Iterate over the sub menus and handle setting the suspended state.
@param {TreeNode} node - The data source for the current menu.
Iterate over the sub menus and handle setting the suspended state . @param { TreeNode } node - The data source for the current menu .
function _handleSuspendTraversal( node ) {
    var nLevel = node.level;
    var menu = node.data;
    if ( nLevel === 1 ) {
      menu.clearTransitions();
      menu.getDom().content.classList.remove( 'u-invisible' );
      if ( menu.isExpanded() ) {
        menu.collapse();
      }
    } else if ( nLevel === 2 ) {
      menu.resume();
    }
  }
function _handleSuspendTraversal ( node ) { var nLevel = node . level ; var menu = node . data ; if ( nLevel === 1 ) { menu . clearTransitions ( ) ; menu . getDom ( ) . content . classList . remove ( 'u-invisible' ) ; if ( menu . isExpanded ( ) ) { menu . collapse ( ) ; } } else if ( nLevel === 2 ) { menu . resume ( ) ; } }
Iterate over the sub menus and handle setting the suspended state.
Iterate over the sub menus and handle setting the suspended state .