This addon is an Ember wrapper on top of jquery file upload.
All options are enabled in this addon. Please raise a request if you would like to see any options missed out.
{{file-upload }}
- url is mandatory
Callback methods available as sendActions:
'onFileuploadalways', 'onFileuploadchange', 'onFileuploadchunkalways', 'onFileuploadchunkdone', 'onFileuploadchunkfail', 'onFileuploadchunksend', 'onFileuploaddone', 'onFileuploaddragover', 'onFileuploaddrop', 'onFileuploadfail', 'onFileuploadprogress', 'onFileuploadprogressall', 'onFileuploadpaste', 'onFileuploadsend', 'onFileuploadstart', 'onFileuploadstop', 'onFileuploadsubmit', 'onFileuploadsuccess', 'onFileuploaderror', 'onFileuploadInit'
When data is being submitted, this callback is triggered on success.
This is triggered when the file upload component is rendered in place. Sends 2 properties with the file upload object and the component's current context. This could be useful for programatically stopping a file upload.
ember install ember-jq-fileupload
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
git clone
this repositorynpm install
bower install