get focusTarget() {
    let target = this.lastHovered;
    if (!target) {
      const selected = this.getSelectedItems();
      if (!selected.length) {
        target = this.getFirstAvailableItem();
      } else {
        target = selected[0];
      }
    }
    return target;
  }
/**
   * @readonly
   * @returns {IdsMenuItem} the next focusable item that is/was:
   * - last hovered by the mouse (if applicable)
   * - currently/previously selected (if applicable)
   * - the first available menu item closest to the top of the menu that is not disabled or hidden.
   */
@readonly
@returns {IdsMenuItem} the next focusable item that is/was:
- last hovered by the mouse (if applicable)
- currently/previously selected (if applicable)
- the first available menu item closest to the top of the menu that is not disabled or hidden.
@readonly @returns { IdsMenuItem } the next focusable item that is / was : - last hovered by the mouse ( if applicable ) - currently / previously selected ( if applicable ) - the first available menu item closest to the top of the menu that is not disabled or hidden .
get focusTarget() {
    let target = this.lastHovered;
    if (!target) {
      const selected = this.getSelectedItems();
      if (!selected.length) {
        target = this.getFirstAvailableItem();
      } else {
        target = selected[0];
      }
    }
    return target;
  }
get focusTarget ( ) { let target = this . lastHovered ; if ( ! target ) { const selected = this . getSelectedItems ( ) ; if ( ! selected . length ) { target = this . getFirstAvailableItem ( ) ; } else { target = selected [ 0 ] ; } } return target ; }
@readonly
 @returns {IdsMenuItem} the next focusable item that is/was:
 - last hovered by the mouse (if applicable)
 - currently/previously selected (if applicable)
 - the first available menu item closest to the top of the menu that is not disabled or hidden.
@readonly @returns { IdsMenuItem } the next focusable item that is / was : - last hovered by the mouse ( if applicable ) - currently / previously selected ( if applicable ) - the first available menu item closest to the top of the menu that is not disabled or hidden .