A class to describe a file.
p5.File objects are used by myElement.drop() and created by createFileInput.
Examples
Syntax
p5.File(file)
Parameters
file
File:
wrapped file.
Fields
subtype
The file subtype as a string.
For example, a file with an 'image' MIME type may have a subtype such as png or jpeg.
name
The file name as a string.
size
The number of bytes in the file.
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!