Adds appropriate aria attributes and set focus to links when needed.
- No dependencies
When the breakpoint has been reached the plugin will automaticly move all items to the dropdown & change the toggle label to navDropdownBreakpointLabel.
- Smart calculation of available space
It automatically looks for the main navigation’s siblings and calculates remaining space.
Because of the point above you can have multiple inline-block/flexbox items on the same level.
- Non obstructive menu dropdown
The dropdown menu can be closed by clicking outside and pressing escape.
Callbacks are fired when an item is moved or moved back from the main navigation.