This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-04
Channels
- # beginners (56)
- # boot (11)
- # cider (1)
- # clojure (112)
- # clojure-denmark (4)
- # clojure-russia (7)
- # clojurescript (45)
- # component (1)
- # cursive (19)
- # data-science (10)
- # datacrypt (1)
- # datascript (22)
- # datomic (3)
- # defnpodcast (2)
- # emacs (4)
- # fulcro (26)
- # hoplon (21)
- # jobs-discuss (5)
- # klipse (5)
- # onyx (8)
- # portkey (1)
- # re-frame (8)
- # reagent (17)
- # ring (7)
- # shadow-cljs (14)
- # spacemacs (9)
- # vim (4)
it seems that changing the cell value the class attribute is not overwritten (as expected) but the new value is appended to it !
@gianluca.scacco thats not quite what you want
you are looking to provide the attribute with a map
like this: (div :class (cell= {:active true :inactive false}))
where true/false probably comes from another cell
@gianluca.scacco it’s not just the class attribute, however :class
is one that has a few different cases for the types of data it accepts