Hello everyone. Could someone help me please. I need to add the onscroll handler to the body element of document. But this doesn’t work for me:
(html (head (link :href "app.css" :rel "stylesheet" :type "text/css")) (body :scroll #(println "!!!!!!") (h1 "Hello, Hoplon!")))
Chances are you are missing the
@flyboarder here it is:
(page "index.html" (:require [eddie-ui.data :refer [bots]] [eddie-ui.api :refer [load-bots]]))
should I require hoplon.jquery?
Are you using boot to compile your Hoplon app?
Could you also share your boot build tasks!?