_createMainMenu(template) {
    template.forEach((data) => {
      const item = this._createMenuItem(data);
      this.topMenu.append(item);
    });
  }
/**
   * Creates application menu.
   * @param {Array} template Menu template model.
   */
Creates application menu.
@param {Array} template Menu template model.
Creates application menu . @param { Array } template Menu template model .
_createMainMenu(template) {
    template.forEach((data) => {
      const item = this._createMenuItem(data);
      this.topMenu.append(item);
    });
  }
_createMainMenu ( template ) { template . forEach ( ( data ) => { const item = this . _createMenuItem ( data ) ; this . topMenu . append ( item ) ; } ) ; }
Creates application menu.
Creates application menu .