All Projects → vaadin → Vaadin Upload

vaadin / Vaadin Upload

Licence: apache-2.0
The Web Component for uploading multiple files with progress indication. Part of the Vaadin components.

Projects that are alternatives of or similar to Vaadin Upload

vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (-66.67%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
Vaadin Date Picker
The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
Stars: ✭ 158 (+81.61%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
Vaadin Combo Box
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.
Stars: ✭ 113 (+29.89%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-82.76%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (-54.02%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
Vaadin Form Layout
The Web Component providing configurable responsive layout for form elements. Part of the Vaadin components.
Stars: ✭ 15 (-82.76%)
Mutual labels:  webcomponents, polymer, web-component, vaadin
vaadin-icons
Vaadin Icons is a collection of 600+ unique icons designed for web applications
Stars: ✭ 59 (-32.18%)
Mutual labels:  web-component, polymer, webcomponents, vaadin
Vaadin Grid
vaadin-grid is a free, high quality data grid / data table Web Component. Part of the Vaadin components.
Stars: ✭ 383 (+340.23%)
Mutual labels:  webcomponents, web-component, vaadin
Vaadin Core
An evolving set of free, open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 382 (+339.08%)
Mutual labels:  webcomponents, polymer, vaadin
Vaadin
An evolving set of open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 424 (+387.36%)
Mutual labels:  webcomponents, polymer, vaadin
multiselect-combo-box
A multi select combo box web component based on Polymer and the vaadin-combo-box
Stars: ✭ 41 (-52.87%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (-70.11%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-checkbox
The Web Component for customized checkboxes. Part of the Vaadin components.
Stars: ✭ 18 (-79.31%)
Mutual labels:  polymer, webcomponents, vaadin
Apollo Elements
🚀🌛 Use the Launch Platform 👩‍🚀👨‍🚀
Stars: ✭ 278 (+219.54%)
Mutual labels:  webcomponents, polymer
Redux Store Element
A custom element allowing a more declarative use of Redux.
Stars: ✭ 83 (-4.6%)
Mutual labels:  webcomponents, polymer
skeleton-starter-flow-spring
Default project template for Vaadin using Spring Boot
Stars: ✭ 29 (-66.67%)
Mutual labels:  webcomponents, vaadin
Google Chart
Google Charts API web components
Stars: ✭ 284 (+226.44%)
Mutual labels:  webcomponents, polymer
Polymer Redux
Polymer bindings for Redux.
Stars: ✭ 450 (+417.24%)
Mutual labels:  polymer, web-component
polymerx-cli
⚡ Unlock the power of Polymer 3, Web Components and modern web tools.
Stars: ✭ 30 (-65.52%)
Mutual labels:  polymer, webcomponents
Awesome Polymer
A collection of awesome Polymer resources.
Stars: ✭ 384 (+341.38%)
Mutual labels:  webcomponents, polymer

npm version Bower version Published on webcomponents.org Build Status Coverage Status Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

<vaadin-upload>

Live Demo ↗ | API documentation ↗

<vaadin-upload> is a Web Component for uploading files, part of the Vaadin components.

<vaadin-upload accept=".pdf">
  <iron-icon slot="drop-label-icon" icon="description"></iron-icon>
  <span slot="drop-label">Drop your favourite Novels here (PDF files only)</span>
</vaadin-upload>

Screenshot of vaadin-upload

Installation

The Vaadin components are distributed as Bower and npm packages. Please note that the version range is the same, as the API has not changed. You should not mix Bower and npm versions in the same application, though.

Unlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components are only published on npm, not pushed to GitHub repositories.

Polymer 2 and HTML Imports Compatible Version

Install vaadin-upload:

bower i vaadin/vaadin-upload --save

Once installed, import it in your application:

<link rel="import" href="bower_components/vaadin-upload/vaadin-upload.html">

Polymer 3 and ES Modules Compatible Version

Install vaadin-upload:

npm i @vaadin/vaadin-upload --save

Once installed, import it in your application:

import '@vaadin/vaadin-upload/vaadin-upload.js';

Getting started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

Entry points

  • The component with the Lumo theme:

    theme/lumo/vaadin-upload.html

  • The component with the Material theme:

    theme/material/vaadin-upload.html

  • Alias for theme/lumo/vaadin-upload.html:

    vaadin-upload.html

Running demos and tests in a browser

  1. Fork the vaadin-upload repository and clone it locally.

  2. Make sure you have npm and Bower installed.

  3. When in the vaadin-upload directory, run npm install and then bower install to install dependencies.

  4. Run npm start, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running tests from the command line

  1. When in the vaadin-upload directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

Contributing

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].