[directory-upload] HTMLInputElement.directory should be a Directory attribute and not a boolean (#31)

It seems confusing that HTMLInputElement.files return the array of selected files, but HTMLInputElement.directory just true/false. I think it would be nice to have it as:

    readonly attribute Directory? directory;

In case the user selects 1 directory, this will be a Directory object.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/31

Received on Tuesday, 22 March 2016 15:30:53 UTC