Skip to content

lifegadget/ui-dropzone

 
 

Repository files navigation

ui-dropzone

Drag and drop file uploader addon for ember-cli using Dropzonejs.

DEMO

Installation

From your project's root folder:

 ember install ui-dropzone

This will install the bower based dropzonejs library and you're ready to go.

Note: if you'd prefer to use your own css and not dropzone's you can disable it in your ember-cli-build.js file:

var app = new EmberApp({
  emberCliDropzone: {
    includeDropzoneCss: false
  }
});

Usage

Just add the component to your template:

{{drop-zone url='http://www.server.com/endpoint'}}

For all other instruction review the interactive demo or the DropzoneJS documentation.

History

The history of this addon starts with all the great DropzoneJS work, it then was brought to Ember by Ricardo Mercado. I forked this code because I needed to extend it enough that I felt it was better to have it evolve separately.

About

Drag and drop file uploader addon using dropzonejs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.7%
  • HTML 24.9%
  • CSS 21.4%