'mmenu.js set Selected not work with detect url
we are integrating mmenu on our site, the selected addon set so configured does not seem to work.
<!-- NAV mmenu scripts -->
<script src="../../res/mmenu/dist/mmenu.js"></script>
<script>
const menu = new Mmenu(
document.querySelector("#menu"),
{
slidingSubmenus: true,
theme: "light",
setSelected: {
current: "detect",
hover: true,
parent: true,
},
counters: {
add: false,
},
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
