somewebmedia / hc-offcanvas-nav

JavaScript library for creating toggled off-canvas multi-level navigations, allowing endless nesting of submenu elements, supporting swipe gestures, keyboard interactions and ARIA attributes.
https://somewebmedia.github.io/hc-offcanvas-nav/
MIT License
335 stars 82 forks source link

Option to COVER the previous menu? #21

Closed emage closed 5 years ago

emage commented 5 years ago

Is there an option to not show a glimpse of the previous menu behind the active menu group? I want to just have the selected menu cover all the rest - the more deeper you go into the menu - it just gets more crowded. I just want to show one group of menu.

Thanks

somewebmedia commented 5 years ago

Set levelSpacing option to zero.