Files
Megamenu/config/serve.json
Torsten Brendgen bc61166267 feat: Add support for flyout menu mode in MegaMenu
- Introduced `MegaMenuMode` type and `normalizeMegaMenuMode` function to handle menu modes.
- Updated `MegaMenuApplicationCustomizer` to accept `menuMode` property.
- Enhanced `MegaMenuRenderer` to render flyout menus based on the selected mode.
- Created new HTML previews for both flyout and mega menu modes.
- Removed unused mock services and user custom action service interfaces.
2026-07-20 20:37:32 +02:00

36 lines
1.0 KiB
JSON

{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"port": 4321,
"https": true,
"serveConfigurations": {
"default": {
"pageUrl": "https://sharepoint.contoso.local/SitePages/Neues-Zuhause.aspx",
"customActions": {
"c0abbffb-355d-4d4e-bd38-9e15fb811506": {
"location": "ClientSideExtension.ApplicationCustomizer",
"properties": {
"termSetName": "Horizontale Navigation",
"cacheMinutes": 15,
"menuMode": "megaMenu",
"debug": true
}
}
}
},
"megaMenu": {
"pageUrl": "https://contoso.sharepoint.com/sites/mySite/SitePages/myPage.aspx",
"customActions": {
"c0abbffb-355d-4d4e-bd38-9e15fb811506": {
"location": "ClientSideExtension.ApplicationCustomizer",
"properties": {
"termSetName": "Global Navigation",
"cacheMinutes": 15,
"menuMode": "flyout",
"debug": true
}
}
}
}
}
}