trait FileUploader extends Object

Angular File Uploader (nervgh/angular-js-upload)

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. FileUploader
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addToQueue(element: Element, options: FileItem, filters: String): Unit
  5. def addToQueue(element: Element, options: FileItem): Unit
  6. def addToQueue(element: Element): Unit
  7. def addToQueue(file: FileItem, options: FileItem, filters: String): Unit
  8. def addToQueue(file: FileItem, options: FileItem): Unit
  9. def addToQueue(file: FileItem): Unit
  10. def addToQueue(files: Array[FileItem], options: FileItem, filters: String): Unit
  11. def addToQueue(files: Array[FileItem], options: FileItem): Unit
  12. def addToQueue(files: Array[FileItem]): Unit

    Add items to the queue, where: files is a {FileList|File|HTMLInputElement}, options is an {Object} and filters is a {String}

  13. val alias: String

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

  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. val autoUpload: Boolean

    Automatically upload files after adding them to the queue

  16. def cancelAll(): Unit

    Cancels all current uploads.

  17. def cancelItem(): Unit

    Cancels uploading of item, where value is {FileItem} or index of item.

  18. def cancelItem(index: Int): Unit

    Cancels uploading of item, where value is {FileItem} or index of item.

  19. def cancelItem(file: FileItem): Unit

    Cancels uploading of item, where value is {FileItem} or index of item.

  20. def clearQueue(): Unit

    Removes all elements from the queue.

  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def destroy(): Unit

    Destroys a uploader.

  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. val filters: Array[FileUploadFilter]

    Filters to be applied to the files before adding them to the queue.

    Filters to be applied to the files before adding them to the queue. If the filter returns true the file will be added to the queue

  26. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. val formData: Array[Object]

    Data to be sent along with the files

  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  29. def getIndexOfItem(file: FileItem): Int

    Returns the index of the {FileItem} queue element.

    Returns the index of the {FileItem} queue element.

    file

    the given of the {FileItem}

    returns

    the index of the {FileItem} queue element.

  30. def getNotUploadedItems(): Array[FileItem]

    Return an array of all pending items on the queue

    Return an array of all pending items on the queue

    returns

    an array of all pending items on the queue

  31. def getReadyItems(): Array[FileItem]

    Return items are ready to upload.

    Return items are ready to upload.

    returns

    items are ready to upload.

  32. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  34. val headers: FileUploadHeaders

    Headers to be sent along with the files.

    Headers to be sent along with the files. HTML5 browsers only.

  35. def isFile(value: Any): Boolean

    Returns true if value is {File}.

    Returns true if value is {File}.

    value

    the given value

    returns

    true if value is {File}.

  36. def isFileLikeObject(value: Any): Boolean

    Returns true if value is {FileLikeObject}.

    Returns true if value is {FileLikeObject}.

    value

    the given value

    returns

    true if value is {FileLikeObject}.

  37. def isHTML5: Boolean

    if uploader is html5-uploader.

    if uploader is html5-uploader. Read only.

  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  40. def isUploading: Boolean

    if an upload is in progress.

    if an upload is in progress. Read only.

  41. val method: String

    It's a request method.

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

  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  45. val onAfterAddingAll: Function1[Array[FileItem], Unit]
  46. val onAfterAddingFile: Function1[FileItem, Unit]
  47. val onBeforeUploadItem: Function1[FileItem, Unit]
  48. val onCancelItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]
  49. val onCompleteAll: Function0[Unit]
  50. val onCompleteItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]
  51. val onErrorItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]
  52. val onProgressAll: Function1[FileUploadProgress, Unit]
  53. val onProgressItem: Function2[FileItem, FileUploadProgress, Unit]
  54. val onSuccessItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]
  55. val onWhenAddingFileFailed: Function3[FileItem, FileUploadFilter, FileItem, Unit]
  56. def progress: Double

    Upload queue progress percentage.

    Upload queue progress percentage. Read only.

  57. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  58. val queue: Array[FileItem]

    Items to be uploaded

  59. val queueLimit: Double

    Maximum count of files

  60. val removeAfterUpload: Boolean

    Remove files from the queue after uploading

  61. def removeFromQueue(file: FileItem): Unit

    Remove an item from the queue, where value is {FileItem} or index of item.

  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def toLocaleString(): String
    Definition Classes
    Object
  64. def toString(): String
    Definition Classes
    AnyRef → Any
  65. def uploadAll(): Unit

    Upload all pending items on the queue.

  66. def uploadItem(index: Int): Unit

    Uploads an item, where value is {FileItem} or index of item.

  67. def uploadItem(file: FileItem): Unit

    Uploads an item, where value is {FileItem} or index of item.

  68. val url: String

    Path on the server to upload files

  69. def valueOf(): Any
    Definition Classes
    Object
  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. val withCredentials: Boolean

    Enable CORS.

    Enable CORS. HTML5 browsers only.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped