2016-04-07 20:40:21 +01:00

18 lines
727 B
Markdown
Executable File

# Introduction
This repository contains an element for file uploads using ajax. It supports multi-file selection as well as optional drop zones for drag-and-drop. The element is designed for use in Polymer 1.0.
Check out the demo and docs here: https://winhowes.github.io/file-upload/components/file-upload/.
# Installation
To install simply run:
```
bower install --save file-upload
```
# publish-subscribe functionality
Add the code below to the main index.html in order to publish an event when a file is uploaded. This event is used by the others components to refresh or make action.
<template is="dom-bind" id="alfresco-app">
<iron-signals on-iron-signal-uploaded="uploadedSignal"></iron-signals>
</template>
```