function _handleMove( event ) {
    // If we've left the parent container of the current menu, close it.
    if ( !_firstLevelDom.contains( event.target ) ) {
      _updateMenuState( null, event.type );
    }
  }
/**
   * Event handler for when mouse is hovering.
   * @param {MouseEvent} event - The hovering event.
   */
Event handler for when mouse is hovering.
@param {MouseEvent} event - The hovering event.
Event handler for when mouse is hovering . @param { MouseEvent } event - The hovering event .
function _handleMove( event ) {
    if ( !_firstLevelDom.contains( event.target ) ) {
      _updateMenuState( null, event.type );
    }
  }
function _handleMove ( event ) { if ( ! _firstLevelDom . contains ( event . target ) ) { _updateMenuState ( null , event . type ) ; } }
Event handler for when mouse is hovering.
Event handler for when mouse is hovering .
// If we've left the parent container of the current menu, close it.