component-normalized-upload
Normalized DataTransfer items for less upload item handling pain
Last updated 7 years ago by tootallnate .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install component-normalized-upload 
SYNC missed versions from official npm registry.

normalized-upload

Normalized DataTransfer items for less upload item handling pain.

Installation

$ component install component/normalized-upload

Example

var normalize = require('normalized-upload');

document.onpaste = function(e){
  console.log(e);
  normalize(e, function(){
    e.items.forEach(function(item){
      console.log(item);
    });
  });
};

License

MIT

Current Tags

  • 0.0.6                                ...           latest (7 years ago)

1 Versions

  • 0.0.6                                ...           7 years ago

Copyright 2014 - 2017 © taobao.org |