Skip to content

Commit 5d5d8fa

Browse files
committed
Merge branch 'master' of github.com:nervgh/angular-file-upload
2 parents 9ed1ab4 + e3bf03b commit 5d5d8fa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ You could find this module in npm like [_angular file upload_](https://www.npmjs
3333
3. [FAQ](https://github.com/nervgh/angular-file-upload/wiki/FAQ)
3434
4. [Migrate from 0.x.x to 1.x.x](https://github.com/nervgh/angular-file-upload/wiki/Migrate-from-0.x.x-to-1.x.x)
3535
5. [RubyGem](https://github.com/marthyn/angularjs-file-upload-rails)
36+
37+
## Browser compatibility
38+
This module uses the _feature detection_ pattern for adaptation its behaviour: [fd1](https://github.com/nervgh/angular-file-upload/blob/v2.3.1/src/services/FileUploader.js#L728),
39+
[fd2](https://github.com/nervgh/angular-file-upload/blob/v2.3.1/examples/image-preview/directives.js#L21).
40+
41+
You could check out features of target browsers using http://caniuse.com/. For example, the [File API](http://caniuse.com/#feat=fileapi) feature.
42+
43+
| Feature/Browser | IE 8-9 | IE10+ | Firefox 28+ | Chrome 38+ | Safari 6+ |
44+
|----------|:---:|:---:|:---:|:---:|:---:|
45+
| `<input type="file"/>` | + | + | + | + | + |
46+
| `<input type="file" multiple/>` | - | + | + | + | + |
47+
| Drag-n-drop | - | + | + | + | + |
48+
| Iframe transport (only for old browsers) | + | + | + | + | + |
49+
| XHR transport (multipart,binary) | - | + | + | + | + |
50+
| An image preview via Canvas (not built-in) | - | + | + | + | + |

0 commit comments

Comments
 (0)