angular-file-upload

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework

  • 所有者: nervgh/angular-file-upload
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Angular File Upload

  • compatible with AngularJS v1.x

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

bower install angular-file-upload

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

NPM npm

npm install angular-file-upload

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

Yarn npm

yarn add --exact angular-file-upload

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

Nuget

Install-Package AngularFileUpload

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

Module Dependency

Add 'angularFileUpload' to your module declaration:

var app = angular.module('my-app', [
    'angularFileUpload'
]);

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, -, +, +, +, +, ## How to ask a question

A right way to ask a question

If you have a question, please, follow next steps:

  • Try to find an answer to your question using search
  • If you have not found an answer, create new issue on issue-tracker

Why email a question is a bad way?

When you emal me a question:

  • You lose an opportunity to get an answer from other team members or users (devs)
  • It requires from me to answer on same questions again and again
  • It is not a rational way. For example, if everybody who use code of this project will have emailed me a question then I will be receiving ~700 emails each day =)
  • It is a very slow way. I have not time for it.

主要指標

概覽
名稱與所有者nervgh/angular-file-upload
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2013-08-11 22:16:39
推送於2023-06-04 05:48:35
最后一次提交2023-06-04 10:48:35
發布數50
最新版本名稱2.6.1 (發布於 )
第一版名稱v_0.1 (發布於 )
用户参与
星數3.4k
關注者數182
派生數1.1k
提交數296
已啟用問題?
問題數761
打開的問題數232
拉請求數50
打開的拉請求數14
關閉的拉請求數67
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?