highlightItem(menuItem) {
    if (!isUsableItem(menuItem, this)) {
      return;
    }

    this.items.forEach((item) => {
      if (!menuItem.isEqualNode(item)) {
        item.unhighlight();
      }
    });
    menuItem.highlight();
  }
/**
   * Unhighlights all menu items, then highlights a specified item.
   * @param {IdsMenuItem} menuItem reference to the menu item that will be highlighted
   * @returns {void}
   */
Unhighlights all menu items, then highlights a specified item.
@param {IdsMenuItem} menuItem reference to the menu item that will be highlighted
@returns {void}
Unhighlights all menu items then highlights a specified item . @param { IdsMenuItem } menuItem reference to the menu item that will be highlighted @returns { void }
highlightItem(menuItem) {
    if (!isUsableItem(menuItem, this)) {
      return;
    }
    this.items.forEach((item) => {
      if (!menuItem.isEqualNode(item)) {
        item.unhighlight();
      }
    });
    menuItem.highlight();
  }
highlightItem ( menuItem ) { if ( ! isUsableItem ( menuItem , this ) ) { return ; } this . items . forEach ( ( item ) => { if ( ! menuItem . isEqualNode ( item ) ) { item . unhighlight ( ) ; } } ) ; menuItem . highlight ( ) ; }
Unhighlights all menu items, then highlights a specified item.
Unhighlights all menu items then highlights a specified item .