Skip to content

Interface: MockFile ​

Defined in: ui/src/preview.ts:13

A file-like object for displayExistingFile(): not part of the tree or the upload queue.

Indexable ​

ts
[key: string]: unknown

Properties ​

PropertyTypeDescriptionDefined in
namestringFile name shown in the row.ui/src/preview.ts:15
previewElement?HTMLElementThe row element, set by the UI.ui/src/preview.ts:23
sizenumberSize in bytes.ui/src/preview.ts:17
status?stringStatus text, for example success.ui/src/preview.ts:21
type?stringMIME type.ui/src/preview.ts:19

Released under the MIT License.