ui-dropzone

0.7.4 • Public • Published

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.

Package Sidebar

Install

npm i ui-dropzone

Weekly Downloads

23

Version

0.7.4

License

MIT

Last publish

Collaborators

  • ksnyde