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
[] array - An array containing arrays of items. An item should contain a label, anchor and if wanted an icon as well.
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes