code: function updateLayoutInfo(name) {
        var layouts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  
        if (!menus.has(name)) {
          return;
        }
  
        var menu = Object.assign({}, menus.get(name));
  
        if (layouts.hasOwnProperty('triggerLayout')) {
          menu.triggerLayout = layouts.triggerLayout;
        }
  
        if (layouts.hasOwnProperty('optionsLayout')) {
          menu.optionsLayout = layouts.optionsLayout;
        }
  
        menus.set(name, menu);
      }
docs: Updates layout infomration.