file-input-event

1.0.0 • Public • Published

file-input-event Version Badge

License Downloads

npm badge

Get the byte length of an ArrayBuffer, even in engines without a .byteLength method.

Example

const FileInputEvent = require('file-input-event');

let file_input_event = new FileInputEvent('#file-input', '#button_clear').setReadyStatusCallback((ready, files, size) => {

    if(ready)
    {
        console.log("Ready");
    }

    if(!ready)
    {
        console.log("NOT Ready");
    }
});

Tests

Simply clone the repo, npm install

Readme

Keywords

Package Sidebar

Install

npm i file-input-event

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.17 kB

Total Files

4

Last publish

Collaborators

  • siestacat