Now that I've had my nose in that code, I thought the docs about it left something to be desired.
Attach a file by drag & drop or click to upload