This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-24
Channels
- # beginners (12)
- # cider (3)
- # clara (3)
- # cljs-dev (3)
- # cljsrn (19)
- # clojure (83)
- # clojure-android (1)
- # clojure-dev (15)
- # clojure-dusseldorf (1)
- # clojure-greece (30)
- # clojure-italy (10)
- # clojure-madison (1)
- # clojure-nl (6)
- # clojure-russia (274)
- # clojure-spec (51)
- # clojure-uk (31)
- # clojurescript (38)
- # core-async (7)
- # cursive (11)
- # datascript (1)
- # datomic (63)
- # emacs (10)
- # figwheel (1)
- # hoplon (27)
- # jobs (11)
- # klipse (4)
- # lein-figwheel (1)
- # lumo (6)
- # nyc (1)
- # off-topic (278)
- # om (12)
- # pedestal (10)
- # protorepl (31)
- # re-frame (13)
- # reagent (23)
- # remote-jobs (1)
- # spacemacs (9)
- # untangled (24)
- # yada (54)
Any Bootstrap users have trouble with the collapsed Navbar button and Hoplon? When it turns into a button, I can’t trigger the drop-down menu (same as the example component). I had it working with Reagent and switched to Hoplon and now clears the screen (no body). I worked my example down to only this element and it seems to still be broken.
I created a minimal repo with the Bootstrap navbar and nothing else but a require for Hoplon.SVG here: https://github.com/mudphone/HoplonNavbarSvgProblem
If I literally cut&paste the entire hoplon.svg
ns file into my app and rename the ns, the dropdown works.
is an hoplon book in the plan? what do you think are the topics that should be in it ?
I think we first need to improve the online docs
@cpmcdaniel from your perspective, what should be done online ? what would be your contents page ?
I would focus less on how it works and more on how to use it
more examples and walkthroughs
also, from my perspective, it’s not just hoplon that is a hurdle, but ClojureScript itself
I feel hoplon is easier to learn than the other cljs frameworks. That makes it a good entry point for someone new to cljs.
so perhaps a primer for cljs - at least the parts that apply to hoplon
the most immediately obvious is the various event handlers and getting things like (.-key event)
, etc.
I know we don’t want to repeat the jquery docs, but a handful of examples that show how to translate a few jquery api calls into cljs and a link to the full jquery api would be a good start
@cpmcdaniel thanks
@cpmcdaniel how to use it , indeed
jquery?
@jouerose ideally you shouldn’t be doing that in Hoplon. If you really need to - jquery/native JS functions.
@dm3 say i have a input text and a button, i want to set some new text to the input text when the button is clicked. what is your advise on doing it ?
(defc text "initial text")
(div
(input :value (cell= (string/to-upper-case text)))
(button :click #(reset! text "clicked!"))