Sorry - i didn’t keep the results of my random messing around. I tried everything here though: Toggle classes with Phoenix.LiveView.JS - #3 by Dabsy
I’ll look into toggle-attribute, thanks.
Sorry - i didn’t keep the results of my random messing around. I tried everything here though: Toggle classes with Phoenix.LiveView.JS - #3 by Dabsy
I’ll look into toggle-attribute, thanks.