A class to describe a file.
p5.File
objects are used by myElement.drop() and created by createFileInput.
उदाहरण
सिंटैक्स
p5.File(file)
पैरामीटर्स
file
File:
wrapped file.
फ़ील्ड्स
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.
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!