- Type name:
menu
- Optional widget
- Placement type: fixed
- Must be present 1 or more times
Widget to declare menus and configure their placement. Multi-level menus (up to 3 nesting level) are supported in some placements.
The location where the menu will be displayed.
Available values:
Value | Location | Support multi-level menus | Demo |
---|---|---|---|
BurgerMenu | In the “Burger menu” sidebar, appears after tapping on the “burger menu” icon in the header | up to 3 nesting level | |
SectionMenu | Horizontal navigation bar in the header | - | |
FooterMenu | In the site footer | - |
BurgerMenu
placement.BurgerMenu
placement.left
, right
.BurgerMenu
placements.Custom title text (without link), if set - will be showed above all menu items.
Array of menu items. Items object can be nested in itself.
Id of the menu item:
Title of menu item.
Valid URL for the menu item link. Can be absolute or relative.
[{
"Type": "menu",
"Id": "abcABC123",
"MenuType": "BurgerMenu",
"BurgerMenuWidthPercent": 100,
"BurgerMenuSide": "right",
"BurgerMenuShowSearchInput": true,
"MenuTitleText": "Catalog",
"Items": [
{
"Id": "1.0",
"Title": "Cars",
"Url": "https://yoursite.com/cars/",
"Items": [
{
"Id": "1.1",
"Title": "Parts",
"Url": "https://yoursite.com/cars/parts/",
"Items": [
{
"Id": "1.2",
"Title": "Electrics",
"Url": "https://yoursite.com/cars/parts/electrics/",
"Items": [
{
"Id": "1.3",
"Title": "Lamps",
"Url": "https://yoursite.com/cars/parts/electrics/lamps.html"
}
]
}
]
}
]
},
{
"Id": "2",
"Title": "Bikes",
"Url": "https://yoursite.com/bikes.html"
}
]
}]