Pular para o conteúdo

Mega Menu Configuration Reference

Este conteúdo não está disponível em sua língua ainda.

The root configuration object passed to the plugin integration:

export interface MegaMenuConfig {
items: MegaMenuItem[];
mobileLabels?: {
open?: string;
openTranslations?: Record<string, string>;
close?: string;
closeTranslations?: Record<string, string>;
menu?: string;
menuTranslations?: Record<string, string>;
};
}

Represents a top-level navigation item on the header bar:

PropertyTypeRequiredDescription
labelstringYesPrimary display text in the navigation header.
hrefstringNoDirect URL link if the item is a standalone link rather than a dropdown.
translationsRecord<string, string>NoLocalized labels mapped by BCP-47 locale tag (e.g., {"ja": "ソリューション"}).
contentMegaMenuPanelNoDropdown panel definition containing categories and links.