get submenus() {
    const submenus = [];
    this.items.forEach((item) => {
      const submenu = item.submenu;
      if (submenu) {
        submenus.push(submenu);
      }
    });
    return submenus;
  }
/**
   * @readonly
   * @returns {Array<IdsMenu>} all available submenus on this menu's direct children
   */
@readonly
@returns {Array} all available submenus on this menu's direct children
@readonly @returns { Array } all available submenus on this menu ' s direct children
get submenus() {
    const submenus = [];
    this.items.forEach((item) => {
      const submenu = item.submenu;
      if (submenu) {
        submenus.push(submenu);
      }
    });
    return submenus;
  }
get submenus ( ) { const submenus = [ ] ; this . items . forEach ( ( item ) => { const submenu = item . submenu ; if ( submenu ) { submenus . push ( submenu ) ; } } ) ; return submenus ; }
@readonly
 @returns {Array<IdsMenu>} all available submenus on this menu's direct children
@readonly @returns { Array<IdsMenu > } all available submenus on this menu ' s direct children