This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-25
Channels
- # aatree (10)
- # beginners (59)
- # boot (314)
- # braveandtrue (4)
- # cider (50)
- # cljs-dev (12)
- # cljsrn (6)
- # clojure (206)
- # clojure-austin (2)
- # clojure-gamedev (90)
- # clojure-japan (1)
- # clojure-poland (12)
- # clojure-russia (10)
- # clojure-sg (1)
- # clojurescript (86)
- # core-async (2)
- # core-matrix (3)
- # cursive (40)
- # datomic (2)
- # dirac (13)
- # editors (25)
- # emacs (7)
- # hoplon (2)
- # immutant (10)
- # jobs (24)
- # jobs-discuss (1)
- # ldnclj (8)
- # lein-figwheel (19)
- # leiningen (1)
- # mount (7)
- # off-topic (34)
- # om (147)
- # onyx (11)
- # parinfer (151)
- # pedestal (2)
- # re-frame (31)
- # reagent (13)
- # ring-swagger (7)
- # spacemacs (1)
- # yada (11)
Any luck with MDL @scot-brown @gadfly361 @mtorres ?
I’m trying to get it to work with just including the plain MDL css and js files in my HTML and adding the right CSS classes to right HTML tags. Without any luck yet though. The components get some styling, but don’t react to any interaction. Somehow Reagent or React is preventing MDL logic from kicking in I think.
@slotkenov I have had some success. I am using cljsjs/material and the cdn link for the regular css (be sure to require cljsjs.material in your main cljs namespace) . I took queues from the lib @gadfly361 linked, but it is unfortunately not ready for direct use. Essentially, you need to make sure to add :component-did-mount metadata, and promote the element. Look at re-mdl.util fore more info.
I may write a blog post/tweet chain about my exp once finished, but idk yet. Definitely a problem I wanna solve.
@slotkenov: last time I tried to use MDL I had to call (js/componentHandler.upgradeDom)
after component did mount/update. That's some MDL js call.
Thanks @scot-brown and @maio I'll try that. Would you think it wise to use in production?