Skip to content
Davit Barbakadze edited this page Aug 6, 2017 · 15 revisions

Important! This page is auto-generated from the comments in the source files. All changes will be overwritten! If you are looking to contribute, modify the comment in the corresponding source file instead.

Module: File

Table of Contents

Constructor

Constructs a new file instance.

Arguments

  • file Object
    Object containing file properties
    • name String
      Name of the file.
    • size Number
      File size.

Properties

File id this is a globally unique id for the specific file.

File name for example "myfile.gif".

File type, e.g image/jpeg

File size in bytes (may change after client-side manupilation).

Original file size in bytes.

Number of bytes uploaded of the files total size.

Number of percentage uploaded of the file.

Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.

Date of last modification.

Methods

Returns native window.File object, when it's available.

Returns mOxie.File - unified wrapper object that can be used across runtimes.

Destroys plupload.File object.