Anchor menu
The anchor menu keeps track of its position and display to the user which part of the page is active.
The items in the menu will only show when the there is a matching element on the page.
Parameters (Blade)
| Key | Default value | Type | Available values | Description |
|---|---|---|---|---|
|
menuItems
|
[] | array | - | An array containing arrays of items. An item should contain a label, anchor and if wanted an icon as well. |
|
id
|
string | - | The DOM id of the component. | |
|
classList
|
[] | array | - | Array containing wrapping classes array |
|
attributeList
|
[] | array | - | Array containing keys and values rendered as attributes |