Trait/Object

io.scalajs.npm.angularjs.fileupload.nervgh

FileUploader

Related Docs: object FileUploader | package nervgh

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addToQueue(element: Element, options: FileItem, filters: String): Unit

    Permalink
  5. def addToQueue(element: Element, options: FileItem): Unit

    Permalink
  6. def addToQueue(element: Element): Unit

    Permalink
  7. def addToQueue(file: FileItem, options: FileItem, filters: String): Unit

    Permalink
  8. def addToQueue(file: FileItem, options: FileItem): Unit

    Permalink
  9. def addToQueue(file: FileItem): Unit

    Permalink
  10. def addToQueue(files: Array[FileItem], options: FileItem, filters: String): Unit

    Permalink
  11. def addToQueue(files: Array[FileItem], options: FileItem): Unit

    Permalink
  12. def addToQueue(files: Array[FileItem]): Unit

    Permalink

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

  13. var alias: String

    Permalink

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

  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. var autoUpload: Boolean

    Permalink

    Automatically upload files after adding them to the queue

  16. def cancelAll(): Unit

    Permalink

    Cancels all current uploads.

  17. def cancelItem(): Unit

    Permalink

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

  18. def cancelItem(index: Int): Unit

    Permalink

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

  19. def cancelItem(file: FileItem): Unit

    Permalink

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

  20. def clearQueue(): Unit

    Permalink

    Removes all elements from the queue.

  21. def clone(): AnyRef

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

    Permalink

    Destroys a uploader.

  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. var filters: Array[FileUploadFilter]

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. var formData: Array[Object]

    Permalink

    Data to be sent along with the files

  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def getIndexOfItem(file: FileItem): Int

    Permalink

    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]

    Permalink

    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]

    Permalink

    Return items are ready to upload.

    Return items are ready to upload.

    returns

    items are ready to upload.

  32. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  33. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  34. var headers: FileUploadHeaders

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    if uploader is html5-uploader.

    if uploader is html5-uploader. Read only.

  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  40. def isUploading: Boolean

    Permalink

    if an upload is in progress.

    if an upload is in progress. Read only.

  41. var method: String

    Permalink

    It's a request method.

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

  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. var onAfterAddingAll: Function1[Array[FileItem], Unit]

    Permalink
  46. var onAfterAddingFile: Function1[FileItem, Unit]

    Permalink
  47. var onBeforeUploadItem: Function1[FileItem, Unit]

    Permalink
  48. var onCancelItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]

    Permalink
  49. var onCompleteAll: Function0[Unit]

    Permalink
  50. var onCompleteItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]

    Permalink
  51. var onErrorItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]

    Permalink
  52. var onProgressAll: Function1[FileUploadProgress, Unit]

    Permalink
  53. var onProgressItem: Function2[FileItem, FileUploadProgress, Unit]

    Permalink
  54. var onSuccessItem: Function4[FileItem, FileUploadResponse, Any, FileUploadHeaders, Unit]

    Permalink
  55. var onWhenAddingFileFailed: Function3[FileItem, FileUploadFilter, FileItem, Unit]

    Permalink
  56. def progress: Double

    Permalink

    Upload queue progress percentage.

    Upload queue progress percentage. Read only.

  57. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  58. var queue: Array[FileItem]

    Permalink

    Items to be uploaded

  59. var queueLimit: Double

    Permalink

    Maximum count of files

  60. var removeAfterUpload: Boolean

    Permalink

    Remove files from the queue after uploading

  61. def removeFromQueue(file: FileItem): Unit

    Permalink

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

  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  64. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  65. def uploadAll(): Unit

    Permalink

    Upload all pending items on the queue.

  66. def uploadItem(index: Int): Unit

    Permalink

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

  67. def uploadItem(file: FileItem): Unit

    Permalink

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

  68. var url: String

    Permalink

    Path on the server to upload files

  69. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  70. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. var withCredentials: Boolean

    Permalink

    Enable CORS.

    Enable CORS. HTML5 browsers only.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped