changing css class #570
Unanswered
hyusetiawan
asked this question in
Q&A
Replies: 1 comment
-
@adamghill ping! just want to raise this question :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how can I click one element to change the CSS class in another?
looking at loading states, with unicorn:loading.class, I tried
<a href="#" unicorn:click.class="expanded" unicorn:target="content_{{forloop.counter}}">view</a>
Attempting to add the class "expanded" to element with the id content_ but it does not work, I also tried
unicorn:click.prevent.class
Beta Was this translation helpful? Give feedback.
All reactions