trait FileItem extends Object
File Item
- Annotations
- @RawJSType() @native()
- See also
https://github.com/nervgh/angular-file-upload/wiki/Module-API
- Alphabetic
- By Inheritance
- FileItem
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
alias: String
Name of the field which will contain the file, default is file
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cancel(): Unit
Cancels uploading of this file
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
file: FileItemDetails
The underlying file
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
formData: Array[Object]
Data to be sent along with this file
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
headers: FileUploadHeaders
Headers to be sent along with this file.
Headers to be sent along with this file. HTML5 browsers only.
-
def
index: Int
A sequence number upload.
A sequence number upload. Read only.
-
def
isCancel: Boolean
true if uploading was canceled.
true if uploading was canceled. Read only.
-
def
isError: Boolean
true if occurred error while file uploading.
true if occurred error while file uploading. Read only.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
isReady: Boolean
File is ready to upload.
File is ready to upload. Read only.
-
def
isSuccess: Boolean
true if the file was uploaded successfully.
true if the file was uploaded successfully. Read only.
-
def
isUploaded: Boolean
true if the file was uploaded.
true if the file was uploaded. Read only.
-
def
isUploading: Boolean
true if the file is being uploaded.
true if the file is being uploaded. Read only.
-
val
method: String
It's a request method.
It's a request method. By default POST. HTML5 browsers only.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
onBeforeUpload: Function0[Unit]
Fires before uploading an item.
-
val
onCancel: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]
On cancel uploading
-
val
onComplete: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]
On file upload complete (independently of the sucess of the operation)
-
val
onError: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]
On upload error
-
val
onProgress: Function1[Double, Unit]
On file upload progress.
-
val
onSuccess: Function3[FileUploadResponse, Object, FileUploadHeaders, Unit]
On file successfully uploaded
-
def
progress: Double
File upload progress percentage.
File upload progress percentage. Read only.
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
remove(): Unit
Remove this file from the queue
-
val
removeAfterUpload: Boolean
Remove this file from the queue after uploading
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
upload(): Unit
Upload this file
-
def
uploader: FileUploader
Reference to the parent Uploader object for this file.
Reference to the parent Uploader object for this file. Read only.
-
val
url: String
Path on the server in which this file will be uploaded
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
withCredentials: Boolean
Enable CORS.
Enable CORS. HTML5 browsers only.