Closed rabauss closed 3 years ago
Adds the active class to the last trail element if no active one was found. Of course there we could even add a new class to the active item e.g. selected and change the configuration here: https://github.com/dklemmt/contao_dk_mmenu/blob/57e92edc0d0fe26df8b3295bc44e9e27050f6da6/src/Helper/MmenuHelper.php#L42
selected
Fine with me :). If I or anyone else has a "better" idea later on, we can always change that then.
Adds the active class to the last trail element if no active one was found. Of course there we could even add a new class to the active item e.g.
selected
and change the configuration here: https://github.com/dklemmt/contao_dk_mmenu/blob/57e92edc0d0fe26df8b3295bc44e9e27050f6da6/src/Helper/MmenuHelper.php#L42