(drop-area {:keys [on-file-drop on-active-change] :as opts})
Create attribute map for drop area.
Create attribute map for drop area.
(humanize-filesize bytes)
(humanize-filesize bytes {:keys [locale iec? locale-opts]})
(on-drop-handler {:keys [on-file-drop on-active-change]})
Create handler when can be used for file drag'n'drop.
Options:
Create handler when can be used for file drag'n'drop. Options: - :on-file-drop - Called with vector of File - :on-active-change - (optional) Called when dragged over and leaves the area.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close