I have an element that dynamically has a class applied to it based on a sorting interaction from jetboost.
When that element gets the “jetboost-sort-asc” class applied to it, I want to be able to conditionally apply visibility to a separate image element on the page.
The 2nd image element should only be visible when the class is present on the page, and hidden when its not present.
Is this something that would be possible with custom code?