bwt-uploader

WebJar for bwt-uploader

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-bluewatertracks-bwt-uploader
Last Version

Last Version

0.9.13
Release Date

Release Date

Type

Type

jar
Description

Description

bwt-uploader
WebJar for bwt-uploader
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bluewatertracks/bwt-uploader

Download github-com-bluewatertracks-bwt-uploader

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-bluewatertracks-bwt-uploader/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-bluewatertracks-bwt-uploader</artifactId>
    <version>0.9.13</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-bluewatertracks-bwt-uploader/
implementation 'org.webjars.bower:github-com-bluewatertracks-bwt-uploader:0.9.13'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-bluewatertracks-bwt-uploader/
implementation ("org.webjars.bower:github-com-bluewatertracks-bwt-uploader:0.9.13")
'org.webjars.bower:github-com-bluewatertracks-bwt-uploader:jar:0.9.13'
<dependency org="org.webjars.bower" name="github-com-bluewatertracks-bwt-uploader" rev="0.9.13">
  <artifact name="github-com-bluewatertracks-bwt-uploader" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-bluewatertracks-bwt-uploader', version='0.9.13')
)
libraryDependencies += "org.webjars.bower" % "github-com-bluewatertracks-bwt-uploader" % "0.9.13"
[org.webjars.bower/github-com-bluewatertracks-bwt-uploader "0.9.13"]

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.bower : iron-ajax jar [1.4.3,2)
org.webjars.bower : paper-dialog jar [1.1.0,2)
org.webjars.bower : paper-progress jar [1.0.11,2)
org.webjars.bower : github-com-polymer-polymer jar [1.4.0,2)
org.webjars.bower : iron-icon jar [1.0.12,2)
org.webjars.bower : pdfjs-dist jar [1.7.246,2)
org.webjars.bower : paper-button jar [1.0.14,2)

Project Modules

There are no modules declared in this project.

Published on Vaadin  Directory Stars on vaadin.com/directory

About

bwt-uploader is a file uploader with support for pdf files, jpeg, png and bmp images written in Polymer. It follows a plug and play model with a few configurations needed to enable certain features. It is partially inspired by the vaadin uploader and came out as a result of a component we built at Blue Water Tracks. Images are converted to base64 images which might increase the size of the file by a small percentage.

Features

  • Simple Drag and Drop along with browse option
  • Ability to upload images and pdf files
  • Down sample and resize images (optional)
  • Ability to upload pdf files
  • Preview of pdf and image files (just the first page in case of pdf files)
  • Progress Bar
  • Configurable AJAX options as well as ability to insert extra fields into the upload object
  • Ability to skip downsampling of image
  • Configurable maximum file size
  • Customizable CSS and shape of preview area

Installation

To install bower install bwt-uploader

To run the code, head into the component's folder and run polymer serve

To run the tests polymer test

Demo And Documentation

bluewatertracks.github.io/bwt-uploader

Example

A simple example of an Image upload

<bwt-uploader target="[yourUrl]" method="PUT" body="[[your Object]]" value="[[valueToBeDatabindedAsOutput]]"></bwt-uploader>

Feedback and Contributions

Both are welcome, feel free to create an issue and we will try to come up with fixes or added features for requests.

Contributors

@bhargavkonkathi Programming is like playing chess; each line is as important as each step to determine what kind of player or programmer you are. When ever not playing chess, it's Javascript, Java and mongodb.
@maisnamraju Javascript Ninja; saving the world with one line of javascript at a time. ;)
@dhrytsenko What is my opinion about JavaScript, NodeJS, MongoDB and Polymer? Building blocks to the future! Allowing me to help make the world a better place.

LICENSE

This project is licensed under the terms of the MIT license.

org.webjars.bower

Blue Water Tracks

Ocean yacht race tracking

Versions

Version
0.9.13