
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
angular-file-upload
Advanced tools
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 12,905 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.