Skip to content

andrezimmermann/dropzone-gwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropzone-gwt

This is a dropzone.js GWT wrapper


What?

This bundles Dropzone.js into a small GWT lib, injecting it's Javascript and CSS files during runtime and wrapping the JSNI calls to the Dropzone.js code, convenitenly exposing the API as a GWT Widget.

##How?

Add this dependency at your pom.xml

<dependency>
  <groupId>com.github.andrezimmermann</groupId>
  <artifactId>dropzone-gwt</artifactId>
  <version>0.0.4</version>
</dependency>

Inherit the Dropzone module at your gwt.xml

<inherits name='com.github.andrezimmermann.dropzone.Dropzone' />

Instantiate a com.github.andrezimmermann.dropzone.client.Dropzone widget, and add to a Container, see the magic happen.

Build Status