1.0.9 • Published 7 years ago

tmj-angular-upload v1.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

angular-upload

TMJ default approach of uploading files using the directive

Dependencies

Installation

npm install tmj-angular-upload

Usage

For now please see demo after you clone for usage. Please include the js/css if you want to use this as default.

Adding dependency to your project

Be sure to add the module dependency of this library tmjUpload.

angular.module('myModule', ['tmjUpload']);

Directive

You should use the directive element <upload> for you to use the feature of this library.

<upload target="#idElement" multiple file-model="controller.var" file-change="function"></upload>

Element Attributes

  • multiple - to allow the multiple upload of file.
  • file-model - variable to store the files.
  • file-change - the function to be executed after a file selected.
  • url - url returning a template to be used for the container(by default will used the template provided)

TODO

  • Test Scripts.
  • Currently images are only supported: create a support to other files.

License

MIT

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago