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