Menu allows to build a tree of navigation elements from an array of items
Name
|
Type
|
Default
|
Description
|
|---|---|---|---|
type | String | -- | Menu type |
items | Array | -- | Menu items |
horizontal | Boolean | -- | Align menu horizontally |
accordion | Boolean | true | Display vertical menu as an accordion |
Menu item is a navigation element that can have sub-navigation items
Name
|
Type
|
Default
|
Description
|
|---|---|---|---|
item | Object | -- | Menu item |
horizontal | Boolean | -- | Align menu horizontally |
accordion | Boolean | true | Display vertical menu as an accordion |