Class dynamic attribute with multiple conditions

Seems like having multiple dynamic attributes based on a route name does not work? the 2nd one is ignored.

dmx-class:active="home.isMatch || suitup.isMatch"

Or am I doing it wrong?

Hi Marcel,

I am not sure of what you are wanting to achieve. To me it looks like you want to add an active class to your navigation items. If that is the case, then you are best off using
dmxAppConnect/dmxBootstrap4Navigation/dmxBootstrap4Navigation.js

Thanks @ben. Does this work with Single Page Apps? I am building a portfolio site and there are multiple pages under the work section. I want to add active class to the Work nav link when any of these routes are a match. But there are about 11 pages that will fall in this category

It should work because it compares the URL to the HREF value.

@ben Then the bootstrap4nav will not work in my use case. the href is different for each sub item under my work category.