A tiny Clojurescript notification library based on Toastr
animate.css
if you want transition anitmations
(require '[raven.notify :as notify])
(defn current-page
[]
[:div.page-wrapper
[(session/get :current-page)]
[notify/notifications]])
;; Info
(notify/notify "Did you know..." :type :info)
;; Success with a 500ms delay
(notify/notify "Success!" :type :success :delay 500)
;; Errors
(notify/notify "Something has gone wrong..." :type :error)
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close