file
Source: lib/file.js
The WHATWG File: a Blob with name, lastModified and webkitRelativePath.
import { File } from 'file';
const f = new File(['hello'], 'hello.txt', { type: 'text/plain' });
f.name; // 'hello.txt'
f.size; // 5Export list
Generated by utilities/doc-api.js from the file dump of utilities/api-surface.sh: 6 members. Edit the text above this block, not the block.
File
class, constructible
- properties:
lastModified (get),name (get),webkitRelativePath (get),[Symbol.toStringTag]