1.3.1 • Published 4 years ago

ng.azure.files v1.3.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

how to use: requirements jszip and file-saver npm install ng.azure.files

  1. require ng.azure.files.
  2. inject "ng.azure.files" in your app module.
   a. sample use of dropzone 
      <div drop-file file-list-callback="vm.nDrop(files)">test drop here</div>
   b. sample use of browse  
      <input hidden="hidden" id="file-input" type="file" browse-file file-list-callback="vm.nInputFile(files)" />
                             <label for="file-input">browse</label>
  1. sample uploading function:
      vm.nInputFile = function(file){
            angular.forEach(file,function(key, val) {

                var config = {
                    sasUrl: '',
                    file: key,
                    progress: function(amount) {
                       console.log(amount);
                    },
                    complete: function() {
                        console.log('upload completed');
                    },
                    error: function(data, status, err, config) {
                        console.log('upload error');
                    }
                };

                uploadService.upload(config);

            });

        };
1.3.1

4 years ago

1.3.0

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago