Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
angular-file-upload
Advanced tools
Readme
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.
npm install angular-file-upload
You could find this module in npm like angular file upload.
yarn add --exact angular-file-upload
You could find this module in yarn like angular file upload.
Add 'angularFileUpload'
to your module declaration:
var app = angular.module('my-app', [
'angularFileUpload'
]);
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 | - | + | + | + | + |
If you have a question, please, follow next steps:
When you emal me a question:
FAQs
Angular File Upload is a module for the AngularJS framework
The npm package angular-file-upload receives a total of 14,307 weekly downloads. As such, angular-file-upload popularity was classified as popular.
We found that angular-file-upload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.