Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 600 Bytes

File metadata and controls

9 lines (5 loc) · 600 Bytes

DragAndDropHalogenHooks

A Halogen port of the "Files - Drag-and-Drop" Elm Example.

Expected Behavior:

Browser

When the user drags a file from their computer on top of the dashed area, the area will change colors, indicating that the file will be uploaded once the user drops it there. The user can also select a list of files by clicking on the button instead. The labels in the example show the names of the last-uploaded files (i.e. files = ) and whether the user is currently dragging a file over the droppable area (i.e. hover = ).