dynamic - Is there a lib for manipulating CSS on the client side in Clojurescript? -
i want make new css rules on client, doing css transitions example. apparently jquery has kind of thing, in world of clojurescript ?
i found gaka , garden generating css on server side hiccup, if want dynamic css on client side ?
does enlive, dommy or of clojurescript libs ?
take @ jayq
you can css manipulation dom element via simple built in css wrapper , clojure map:
(ns myapp (:use [jayq.core :only [$ css inner]])) (def $interface ($ :#interface)) (-> $interface (css {:background "blue"}) (inner "loading!"))
Comments
Post a Comment