Liking cljdoc? Tell your friends :D

komponentit.filepicker


drop-areacljs

(drop-area {:keys [on-file-drop on-active-change] :as opts})

Create attribute map for drop area.

Create attribute map for drop area.
sourceraw docstring

file-list->veccljs

(file-list->vec file-list)
source

filepickercljs

(filepicker _)
source

humanize-filesizecljs

(humanize-filesize bytes)
(humanize-filesize bytes {:keys [locale iec? locale-opts]})
source

noopcljs

source

on-drag-leave-handlercljs

(on-drag-leave-handler {:keys [on-active-change]})
source

on-drag-over-handlercljs

(on-drag-over-handler {:keys [on-active-change]})
source

on-drop-handlercljs

(on-drop-handler {:keys [on-file-drop on-active-change]})

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.
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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close