This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-26
Channels
- # announcements (19)
- # babashka (27)
- # beginners (24)
- # calva (14)
- # clerk (5)
- # clj-commons (21)
- # clojure (51)
- # clojure-europe (14)
- # clojure-madison (1)
- # clojure-nl (1)
- # clojure-norway (9)
- # clojure-uk (4)
- # clojuredesign-podcast (32)
- # core-async (14)
- # datomic (7)
- # events (1)
- # honeysql (3)
- # hyperfiddle (14)
- # introduce-yourself (2)
- # kaocha (7)
- # malli (21)
- # off-topic (50)
- # portal (2)
- # reagent (41)
- # reitit (41)
- # releases (1)
- # scittle (6)
- # shadow-cljs (90)
- # tools-deps (10)
- # xtdb (1)
- # yamlscript (1)
what's a good way to get the click event for ui4/button
, since the handler e/fn
doesn't receive the event? i'd like to call stopPropagation
on it
O_o looking at some of the other macros they expose >event with variable arity / multimethod-esque dispatch...
@U066TMAKS why do you want to call stopPropagation, IIRC the last time this was asked we solved it by disabling a containing <form> submit action
you can also use the lower dom/on!
interface for event-level operations
the button is a delete button that sits on top of a clickable tab. when the delete button is pressed, i don't want the click event to bubble and activate the tab.
dom/on!
works for this, thanks!
Hi there, I am completely new here - just have started learning clojure a few days ago. So is there any web games made out of Electric? I feel fascinated about FE/BE network sync feature of Electric, I think this could be useful when making web games
a couple people have tried to make games, you'll hit a problem – our lack of optimistic updates generally. (We have specific patterns for doing web forms with optimistic input controls, but it doesn't generalize to games)
We'll be launching upgrades and improvements here after the next major version of Electric ships, which is coming in the spring
I made a first version of electric threejs bindings. could be useful for the graphics part.
@U023LKF2PQV could be very helpful ... https://cabbi.bo/nothing/ is a really amazing scrollable demonstration of what you can do in the basic scroll + 3D realm
I’ve packaged up the code we use for https://www.npmjs.com/package/@multiplyco/tailwind-clj into an NPM plugin, in case anyone else has encountered long Tailwind compile times.