trait FileItem extends Object

File Item

Annotations
@RawJSType() @native()
See also

https://github.com/nervgh/angular-file-upload/wiki/Module-API

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileItem
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val alias: String

    Name of the field which will contain the file, default is file

  2. def cancel(): Unit

    Cancels uploading of this file

  3. val file: FileItemDetails

    The underlying file

  4. val formData: Array[Object]

    Data to be sent along with this file

  5. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  6. val headers: FileUploadHeaders

    Headers to be sent along with this file.

    Headers to be sent along with this file. HTML5 browsers only.

  7. def index: Int

    A sequence number upload.

    A sequence number upload. Read only.

  8. def isCancel: Boolean

    true if uploading was canceled.

    true if uploading was canceled. Read only.

  9. def isError: Boolean

    true if occurred error while file uploading.

    true if occurred error while file uploading. Read only.

  10. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  11. def isReady: Boolean

    File is ready to upload.

    File is ready to upload. Read only.

  12. def isSuccess: Boolean

    true if the file was uploaded successfully.

    true if the file was uploaded successfully. Read only.

  13. def isUploaded: Boolean

    true if the file was uploaded.

    true if the file was uploaded. Read only.

  14. def isUploading: Boolean

    true if the file is being uploaded.

    true if the file is being uploaded. Read only.

  15. val method: String

    It's a request method.

    It's a request method. By default POST. HTML5 browsers only.

  16. val onBeforeUpload: Function0[Unit]

    Fires before uploading an item.

  17. val onCancel: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]

    On cancel uploading

  18. val onComplete: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]

    On file upload complete (independently of the sucess of the operation)

  19. val onError: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]

    On upload error

  20. val onProgress: Function1[Double, Unit]

    On file upload progress.

  21. val onSuccess: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]

    On file successfully uploaded

  22. def progress: Double

    File upload progress percentage.

    File upload progress percentage. Read only.

  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. def remove(): Unit

    Remove this file from the queue

  25. val removeAfterUpload: Boolean

    Remove this file from the queue after uploading

  26. def toLocaleString(): String
    Definition Classes
    Object
  27. def upload(): Unit

    Upload this file

  28. def uploader: FileUploader

    Reference to the parent Uploader object for this file.

    Reference to the parent Uploader object for this file. Read only.

  29. val url: String

    Path on the server in which this file will be uploaded

  30. def valueOf(): Any
    Definition Classes
    Object
  31. val withCredentials: Boolean

    Enable CORS.

    Enable CORS. HTML5 browsers only.