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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -