Fork me on GitHub
#clojurescript
<
2021-04-26
>
sova-soars-the-sora03:04:26

How can I

{:on-click (fn [e] (gc/toggle node "invisible"))}
specify the node that is being clicked upon?

sova-soars-the-sora03:04:51

(.. e -target -value) is kinda in the ballpark... not sure if that's the thing

sova-soars-the-sora03:04:38

I basically want to create a "flip" effect that hides one div and shows another (sibling) div

sova-soars-the-sora03:04:19

(. e -target) did the trick