Code Monkey home page Code Monkey logo

angular-file-upload's Introduction

Angular File Upload


About

Angular File Upload is a module for the AngularJS framework. Supports drag-n-drop upload, upload progress, validation filters and a file upload queue. It supports native HTML5 uploads, but degrades to a legacy iframe upload method for older browsers. Works with any server side platform which supports standard HTML form uploads.

When files are selected or dropped into the component, one or more filters are applied. Files which pass all filters are added to the queue. When file is added to the queue, for him is created instance of {FileItem} and uploader options are copied into this object. After, items in the queue (FileItems) are ready for uploading.

Package managers

Bower

bower install angular-file-upload

You could find this module in bower like angular file upload.

NPM

npm install angular-file-upload

You could find this module in npm like angular file upload.

Demos

  1. Simple example
  2. Uploads only images (with canvas preview)
  3. Without bootstrap example

More Info

  1. Introduction
  2. Module API
  3. FAQ
  4. Migrate from 0.x.x to 1.x.x
  5. RubyGem

Browser compatibility

This module uses the feature detection pattern for adaptation its behaviour: fd1, fd2.

You could check out features of target browsers using http://caniuse.com/. For example, the File API feature.

Feature/Browser IE 8-9 IE10+ Firefox 28+ Chrome 38+ Safari 6+
<input type="file"/> + + + + +
<input type="file" multiple/> - + + + +
Drag-n-drop - + + + +
Iframe transport (only for old browsers) + + + + +
XHR transport (multipart,binary) - + + + +
An image preview via Canvas (not built-in) - + + + +
AJAX headers - + + + +

angular-file-upload's People

Contributors

nervgh avatar andrei-cacio avatar danita avatar esvit avatar wtfiwtz avatar alexbezhan avatar denkan avatar egobrain avatar brocksamson avatar mweibel avatar bimusiek avatar panstav avatar psgibbs avatar sjorobekov avatar siim avatar sshuvalov avatar dmitry-dedukhin avatar josencv avatar millerren avatar marthyn avatar kurtfunai avatar kkirsche avatar devmanny avatar jhonmike avatar eccothedolphin avatar d42f avatar davidwparker avatar sirbarrence avatar alexcrack avatar

Watchers

James Cloos avatar Ajay Kumar Agarwal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.