This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-31
Channels
- # aleph (1)
- # announcements (2)
- # beginners (20)
- # calva (44)
- # cider (60)
- # clj-kondo (6)
- # clojure (27)
- # clojure-dev (2)
- # clojure-europe (8)
- # clojure-italy (18)
- # clojure-mexico (5)
- # clojure-nl (61)
- # clojure-spec (12)
- # clojure-uk (101)
- # clojurescript (82)
- # cursive (2)
- # data-science (21)
- # datomic (24)
- # fulcro (19)
- # graalvm (5)
- # hoplon (11)
- # jobs-discuss (35)
- # juxt (7)
- # keechma (6)
- # off-topic (21)
- # pedestal (5)
- # planck (2)
- # qa (43)
- # re-frame (3)
- # reagent (7)
- # reitit (4)
- # rewrite-clj (12)
- # sql (10)
- # testing (4)
- # tools-deps (6)
- # vim (23)
- # xtdb (3)
What is the idiomatic way to add an event listener to an element? Is using on!
depracated? I want to have an element respond to drag events, used like (elem :drag-start #() :drag-end #())
@chromalchemy that would be the way
did you include your attribute providers?
I have been away from Hoplon for a while - What about shadowCLJS — I assume there is no reason not to use Hoplon with ShadowCLJS - and along the same line js interop since I need to use some js libraries in my project
i haven’t tried it, but i haven’t heard anyone say it doesn’t work, so i think it’s probably fine
@tbrooke I use shadow, it’s awesome
Checkout boot-shadow
@flyboarder Can you show a minimal example of "including attribute providers" for a an event that's not included by default.
@flyboarder A hello world with boot-shadow and hot-reloading would be be awesome too. I tried using shadow-cljs straight up and got stumped by cljsjs jquery errors.
@chromalchemy if the event does not exist you will need to implement it, I don’t have any examples of this There is already a hello world for that but I’m not sure where the repo is
Another Hoplon user built it