Toggle class of navigation include on page using browser componant

I have a sidebar php include on a page and want to toggle the active class based on the url using the browser componant. Have tried various like :

dmx-class:active=“browser1.location.pathname.endsWith(“start.php”)”

But no luck…

Community Page
Last updated: