This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-17
Channels
- # adventofcode (96)
- # beginners (49)
- # boot (3)
- # cider (3)
- # cljs-dev (3)
- # clojure (112)
- # clojure-austin (2)
- # clojure-greece (35)
- # clojure-india (2)
- # clojure-sanfrancisco (1)
- # clojure-spec (1)
- # clojure-sweden (1)
- # clojurescript (27)
- # cursive (4)
- # data-science (1)
- # datomic (33)
- # defnpodcast (1)
- # duct (2)
- # editors (1)
- # emacs (4)
- # events (2)
- # figwheel (4)
- # fulcro (4)
- # hoplon (29)
- # instaparse (1)
- # jobs (1)
- # keechma (4)
- # lein-figwheel (2)
- # om (1)
- # parinfer (4)
- # perun (23)
- # reitit (11)
- # shadow-cljs (8)
- # specter (23)
- # uncomplicate (16)
and if you want a child to not be able to be drag and dropped (e.g. if it is a wysiwyg/input field)
(defn as-undraggable!
[el]
{:pre [(wheel.dom.data/el? el)]
:post [(wheel.dom.data/el? %)]}
;
(el
:draggable "true"
:dragstart (comp wheel.dom.events/stop-propagation wheel.dom.events/prevent-default)))
Does anyone ever have trouble with the auto-reload setup with Hoplon and CSS? It seems to get in this weird mode sometimes where it will notice that a CSS file has changed and reload, but it won't pickup the changes and sometimes it may even show like a version of the page with old (cached?) CSS.
Chrome
Good tip to look at the browser 👍 , Firefox behaves better with the reloads
I still have to refresh the page sometimes after a auto-reload but it at least works after that
but there was a snippet of css that triggered the refresh properly to work around this issue
Well thanks for that suggestion in the first place
@-webkit-keyframes livefix { from { opacity: 1; } to { opacity: 1; } }
html { -webkit-animation: livefix infinite 1s; }
cheesy, but doing things in the browser you're already knee deep in cheese, what's a few more inches
Hmm, doesn't seem to work for me.
melty cheese abounds
That's OK, auto-reload is working good in firefox! I haven't really done any CSS before so this is helping a lot. Thanks!
I'm just pleased as punch to have auto-reload working well again 🙂