function _handleToggle( target ) {
      if ( target === _rootMenu &&
           _activeMenu !== target ) {
        _activeMenu.collapse();
      }
      _activeMenu = target;
      _activeMenuDom = _activeMenu.getDom().content;
    }
/**
     * Event handler for when the search input flyout is toggled,
     * which opens/closes the search input.
     * @param {FlyoutMenu} target - menu that is expanding or collapsing.
     */
Event handler for when the search input flyout is toggled,
which opens/closes the search input.
@param {FlyoutMenu} target - menu that is expanding or collapsing.
Event handler for when the search input flyout is toggled which opens / closes the search input . @param { FlyoutMenu } target - menu that is expanding or collapsing .
function _handleToggle( target ) {
      if ( target === _rootMenu &&
           _activeMenu !== target ) {
        _activeMenu.collapse();
      }
      _activeMenu = target;
      _activeMenuDom = _activeMenu.getDom().content;
    }
function _handleToggle ( target ) { if ( target === _rootMenu && _activeMenu !== target ) { _activeMenu . collapse ( ) ; } _activeMenu = target ; _activeMenuDom = _activeMenu . getDom ( ) . content ; }
Event handler for when the search input flyout is toggled,
 which opens/closes the search input.
Event handler for when the search input flyout is toggled which opens / closes the search input .