FileChoosers represent a prompt to input one or more file.
The FileChooser class is initiated by clicking on a file input. This class will be return by calling
The element that was clicked on to initiate this prompt.
If multiple files are supported.
Supply one or more files to set on this input. Mimetype will be inferred from the provided files.
One or more
File arguments. A file can be either:
string. A full path to a file to be uploaded.
Object. An object with the following properties:
Buffer. File contents as a Node.js Buffer.
string. The filename to use for this file.