Fork me on GitHub
#rum
<
2018-12-14
>
sova-soars-the-sora06:12:25

how can i toggle class with :on-click ?

cheatex09:12:13

do you mean css class?

sova-soars-the-sora15:12:21

yep. i have a comments div and i want to show/hide it on click of a button/text

cheatex16:12:43

https://github.com/tonsky/rum#components-local-state just write to :class attribute instead of adding a label

sova-soars-the-sora20:12:22

okay thanks that helps.. will tinker