Skip to content

scalajs-io/angular-file-upload

Repository files navigation

Angular File Upload API for Scala.js

angular-file-upload - angular-file-upload binding for Scala.js.

Description

Angular File Upload is a module for the AngularJS framework. Supports drag-n-drop upload, upload progress, validation filters and a file upload queue. It supports native HTML5 uploads, but degrades to a legacy iframe upload method for older browsers. Works with any server side platform which supports standard HTML form uploads.

When files are selected or dropped into the component, one or more filters are applied. Files which pass all filters are added to the queue. When file is added to the queue, for him is created instance of {FileItem} and uploader options are copied into this object. After, items in the queue (FileItems) are ready for uploading.

Build Dependencies

Build/publish the SDK locally

 $ sbt clean publish-local

Running the tests

Before running the tests the first time, you must ensure the npm packages are installed:

$ npm install

Then you can run the tests:

$ sbt test

Artifacts and Resolvers

To add the angular-file-upload binding to your project, add the following to your build.sbt:

libraryDependencies += "io.scalajs.npm" %%% "angular-file-upload" % "0.5.0"

Optionally, you may add the Sonatype Repository resolver:

resolvers += Resolver.sonatypeRepo("releases") 

About

angular-file-upload bindings for Scala.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages